From 2accaf00d73b41637b066b1aba4b7068f1babf31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dariusz=20G=C3=B3recki?= Date: Sun, 23 Jan 2011 15:02:16 +0100 Subject: [PATCH] Clean out the empty whitespace lines --- EMongoDB.php | 2 +- test/README.mkd | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/EMongoDB.php b/EMongoDB.php index 14d429bb..d1548334 100644 --- a/EMongoDB.php +++ b/EMongoDB.php @@ -223,6 +223,6 @@ public function __destruct(){ */ public function dropDb() { - $this->_mongoDb->drop(); + $this->_mongoDb->drop(); } } diff --git a/test/README.mkd b/test/README.mkd index f712cf56..7630e924 100644 --- a/test/README.mkd +++ b/test/README.mkd @@ -18,7 +18,7 @@ In your protected/config/main.php config file, add the following : 'components' => array( 'fixture'=>array( 'class'=>'EMongoDbFixtureManager', - ), + ), ... ), @@ -60,7 +60,7 @@ That's all you can start using the fixture manager right now. array('name', 'length', 'max' => 255), ); } - + public function attributeLabels() { return array( @@ -77,7 +77,7 @@ That's all you can start using the fixture manager right now. ## Create fixture -Define the fixture collection like for ActiveRecords. Please +Define the fixture collection like for ActiveRecords. Please check http://www.yiiframework.com/doc/guide/1.1/en/test.fixture Fixture file Users.php for collection elements User @@ -111,7 +111,7 @@ class UserTest extends EMongoDbTestCase { $criteria->login('==',$this->Users['sample1']['login']); $userFromDb = User::model()->find($criteria); $this->assertEquals($userFromDb->login, $this->users['sample1']['login']); - } + } } ~~~