diff --git a/tests/bson-corpus/top-parseError-003.phpt b/tests/bson-corpus/top-parseError-003.phpt index 8d321a3a3..a5dcbfe96 100644 --- a/tests/bson-corpus/top-parseError-003.phpt +++ b/tests/bson-corpus/top-parseError-003.phpt @@ -10,7 +10,7 @@ DO NOT EDIT THIS FILE require_once __DIR__ . '/../utils/basic.inc'; throws(function() { - fromJSON('{"x" : {"$regularExpression" : { "pattern": 42, "$options" : ""}}}'); + fromJSON('{"x" : {"$regularExpression" : { "pattern": 42, "options" : ""}}}'); }, 'MongoDB\Driver\Exception\UnexpectedValueException'); ?> diff --git a/tests/bson-corpus/top-parseError-004.phpt b/tests/bson-corpus/top-parseError-004.phpt index 173378728..acbe3f042 100644 --- a/tests/bson-corpus/top-parseError-004.phpt +++ b/tests/bson-corpus/top-parseError-004.phpt @@ -10,7 +10,7 @@ DO NOT EDIT THIS FILE require_once __DIR__ . '/../utils/basic.inc'; throws(function() { - fromJSON('{"x" : {"$regularExpression" : { "pattern": "a", "$options" : 0}}}'); + fromJSON('{"x" : {"$regularExpression" : { "pattern": "a", "options" : 0}}}'); }, 'MongoDB\Driver\Exception\UnexpectedValueException'); ?>