Skip to content

Commit 34becf8

Browse files
committed
Fix wrong expectation for CursorId debug format
1 parent 96173ab commit 34becf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cursor/cursorid-getId-001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ var_dump($cursor->getId(true));
3030
Deprecated: MongoDB\Driver\Cursor::getId(): The method "MongoDB\Driver\Cursor::getId" will no longer return a "MongoDB\Driver\CursorId" instance in the future. Pass "true" as argument to change to the new behavior and receive a "MongoDB\BSON\Int64" instance instead. in %s
3131
object(MongoDB\Driver\CursorId)#%d (%d) {
3232
["id"]=>
33-
int(%d)
33+
%rint\(%d\)|string\(%d\) "%d"%r
3434
}
3535

3636
Deprecated: MongoDB\Driver\Cursor::getId(): The method "MongoDB\Driver\Cursor::getId" will no longer return a "MongoDB\Driver\CursorId" instance in the future. Pass "true" as argument to change to the new behavior and receive a "MongoDB\BSON\Int64" instance instead. in %s
3737
object(MongoDB\Driver\CursorId)#%d (%d) {
3838
["id"]=>
39-
int(%d)
39+
%rint\(%d\)|string\(%d\) "%d"%r
4040
}
4141
object(MongoDB\BSON\Int64)#%d (%d) {
4242
["integer"]=>

0 commit comments

Comments
 (0)