We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e029d commit 2b2242bCopy full SHA for 2b2242b
tests/Operation/DropCollectionFunctionalTest.php
@@ -54,9 +54,9 @@ public function testDropNonexistentCollection()
54
$operation = new DropCollection($this->getDatabaseName(), $this->getCollectionName());
55
$commandResult = $operation->execute($this->getPrimaryServer());
56
57
+ /* Avoid inspecting the result document as mongos returns {ok:1.0},
58
+ * which is inconsistent from the expected mongod response of {ok:0}. */
59
$this->assertIsObject($commandResult);
- $this->assertObjectHasAttribute('ok', $commandResult);
- $this->assertEquals(0, $commandResult->ok);
60
}
61
62
public function testSessionOption()
0 commit comments