File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 65
65
env :
66
66
- SERVER_DISTRO=enterprise-ubuntu1404
67
67
- SERVER_VERSION=3.0.15
68
+ - DEPLOYMENT=STANDALONE_OLD
68
69
- COMPOSER_OPTIONS=--prefer-lowest
69
70
70
71
# Test older standalone server versions (3.0-4.0)
Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ public function testDropNonexistentCollection()
54
54
$ operation = new DropCollection ($ this ->getDatabaseName (), $ this ->getCollectionName ());
55
55
$ commandResult = $ operation ->execute ($ this ->getPrimaryServer ());
56
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}. */
57
59
$ this ->assertIsObject ($ commandResult );
58
- $ this ->assertObjectHasAttribute ('ok ' , $ commandResult );
59
- $ this ->assertEquals (0 , $ commandResult ->ok );
60
60
}
61
61
62
62
public function testSessionOption ()
You can’t perform that action at this time.
0 commit comments