Skip to content

Commit 6512570

Browse files
committed
Temporary fix for the NULL vs null issue
1 parent 640c9b2 commit 6512570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bson/bson-fromPHP_error-001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ foreach ($invalidValues as $invalidValue) {
5050
<?php exit(0); ?>
5151
--EXPECTF--
5252
Testing top-level objects
53-
Expected MyDocument::bsonSerialize() to return an array or stdClass, null given
53+
Expected MyDocument::bsonSerialize() to return an array or stdClass, %r(null|NULL)%r given
5454
Expected MyDocument::bsonSerialize() to return an array or stdClass, integer given
5555
Expected MyDocument::bsonSerialize() to return an array or stdClass, string given
5656
Expected MyDocument::bsonSerialize() to return an array or stdClass, boolean given
5757
Expected MyDocument::bsonSerialize() to return an array or stdClass, MyDocument given
5858

5959
Testing nested objects
60-
Expected MyDocument::bsonSerialize() to return an array or stdClass, null given
60+
Expected MyDocument::bsonSerialize() to return an array or stdClass, %r(null|NULL)%r given
6161
Expected MyDocument::bsonSerialize() to return an array or stdClass, integer given
6262
Expected MyDocument::bsonSerialize() to return an array or stdClass, string given
6363
Expected MyDocument::bsonSerialize() to return an array or stdClass, boolean given

0 commit comments

Comments
 (0)