Skip to content

Commit 4ca38d0

Browse files
committed
Merge branch 'v1.7'
2 parents ac7238c + d2796fd commit 4ca38d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
env:
6666
- SERVER_DISTRO=enterprise-ubuntu1404
6767
- SERVER_VERSION=3.0.15
68+
- DEPLOYMENT=STANDALONE_OLD
6869
- COMPOSER_OPTIONS=--prefer-lowest
6970

7071
# Test older standalone server versions (3.0-4.0)

tests/Operation/DropCollectionFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ public function testDropNonexistentCollection()
5454
$operation = new DropCollection($this->getDatabaseName(), $this->getCollectionName());
5555
$commandResult = $operation->execute($this->getPrimaryServer());
5656

57+
/* Avoid inspecting the result document as mongos returns {ok:1.0},
58+
* which is inconsistent from the expected mongod response of {ok:0}. */
5759
$this->assertIsObject($commandResult);
58-
$this->assertObjectHasAttribute('ok', $commandResult);
59-
$this->assertEquals(0, $commandResult->ok);
6060
}
6161

6262
public function testSessionOption()

0 commit comments

Comments
 (0)