Skip to content

Commit 6462468

Browse files
committed
Fixed tests, as MongoDB 3.3 adds an extra item
1 parent 7f761be commit 6462468

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/manager/manager-var-dump-001.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ object(MongoDB\Driver\Manager)#%d (%d) {
5050
["is_passive"]=>
5151
bool(false)
5252
["last_is_master"]=>
53-
array(8) {
53+
array(%d) {
5454
["ismaster"]=>
5555
bool(true)
5656
["maxBsonObjectSize"]=>
@@ -68,6 +68,7 @@ object(MongoDB\Driver\Manager)#%d (%d) {
6868
int(%d)
6969
["minWireVersion"]=>
7070
int(0)
71+
%a
7172
["ok"]=>
7273
float(1)
7374
}

tests/server/server-debug.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ object(MongoDB\Driver\Server)#%d (%d) {
3333
["is_passive"]=>
3434
bool(false)
3535
["last_is_master"]=>
36-
array(8) {
36+
array(%d) {
3737
["ismaster"]=>
3838
bool(true)
3939
["maxBsonObjectSize"]=>
@@ -51,6 +51,7 @@ object(MongoDB\Driver\Server)#%d (%d) {
5151
int(%d)
5252
["minWireVersion"]=>
5353
int(0)
54+
%a
5455
["ok"]=>
5556
float(1)
5657
}

0 commit comments

Comments
 (0)