Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

actual PHP syntax MINOR

  • Loading branch information...
commit 59b506b02a169b047f44f6f4a152aa04036fca19 1 parent 62e08fb
kristina authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/MongoCursorTest.php
View
2  tests/MongoCursorTest.php
@@ -640,7 +640,7 @@ public function testAddOption() {
}
$cursor = $this->object->find()->addOption('$min', array("x" => 15));
- $this->assertTrue($cursor instanceof MongoCursor, "$cursor");
+ $this->assertTrue($cursor instanceof MongoCursor, get_class($cursor));
foreach($cursor as $v) {
$this->assertGreaterThanOrEqual(15, $v['x']);
Please sign in to comment.
Something went wrong with that request. Please try again.