Skip to content

Commit 0a76b61

Browse files
committed
Accommodate PHP 7.2 error message in createDataKey error test
1 parent 90c631a commit 0a76b61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/clientEncryption/clientEncryption-createDataKey_error-002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ foreach ($tests as $opts) {
2929
?>
3030
===DONE===
3131
<?php exit(0); ?>
32-
--EXPECT--
32+
--EXPECTF--
3333
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
34-
Expected "keyMaterial" option to be MongoDB\BSON\Binary, int given
34+
Expected "keyMaterial" option to be MongoDB\BSON\Binary, %r(int|integer)%r given
3535
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
3636
Expected "keyMaterial" option to be MongoDB\BSON\Binary, stdClass given
3737
===DONE===

0 commit comments

Comments
 (0)