Skip to content

Commit

Permalink
Updated example test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjsaylor committed Mar 30, 2014
1 parent 5a29732 commit ed721e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,8 @@ class MyMongoTestCase extends \PHPUnit_Framework_TestCase {
}

public function testRead() {
$expected = [
'name' => 'Document 1'
];
$result = $this->getMongoConnection()->test->some_collection->findOne(['name' => 'Document 2']);
$this->assertEquals('Document 1', $result['name']);
$this->assertEquals('Document 2', $result['name']);
}

}
Expand Down

0 comments on commit ed721e1

Please sign in to comment.