Skip to content

Commit fc8b862

Browse files
committed
PHPC-1113: Allow extra output for replica sets
1 parent f79a626 commit fc8b862

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

tests/manager/manager-executeCommand-001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
7272
Dumping response document:
7373
object(stdClass)#%d (%d) {
7474
["ok"]=>
75-
float(1)
75+
float(1)%A
7676
}
7777
bool(true)
7878
string(%d) "%s"

tests/manager/manager-executeWriteCommand_error-003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ object(stdClass)#%d (%d) {
3737
["code"]=>
3838
int(9)
3939
["codeName"]=>
40-
string(13) "FailedToParse"
40+
string(13) "FailedToParse"%A
4141
}
4242
===DONE===

tests/server/bug0671-002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ var_dump($cursor->toArray()[0]);
2222
--EXPECTF--
2323
object(stdClass)#%d (%d) {
2424
["ok"]=>
25-
float(1)
25+
float(1)%A
2626
}
2727
===DONE===

tests/server/server-debug.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ object(MongoDB\Driver\Server)#%d (%d) {
2323
["port"]=>
2424
int(%d)
2525
["type"]=>
26-
int(1)
26+
int(%d)
2727
["is_primary"]=>
28-
bool(false)
28+
bool(%s)
2929
["is_secondary"]=>
30-
bool(false)
30+
bool(%s)
3131
["is_arbiter"]=>
3232
bool(false)
3333
["is_hidden"]=>
3434
bool(false)
3535
["is_passive"]=>
36-
bool(false)
36+
bool(false)%A
3737
["last_is_master"]=>
3838
array(%d) {
3939
%a

tests/server/server-executeCommand-001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
5959
}
6060

6161
Dumping response document:
62-
object(stdClass)#%d (1) {
62+
object(stdClass)#%d (%d) {
6363
["ok"]=>
64-
float(1)
64+
float(1)%A
6565
}
6666
bool(true)
6767
===DONE===

tests/writeResult/bug0671-003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ var_dump($cursor->toArray()[0]);
2929
--EXPECTF--
3030
object(stdClass)#%d (%d) {
3131
["ok"]=>
32-
float(1)
32+
float(1)%A
3333
}
3434
===DONE===

0 commit comments

Comments
 (0)