mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-25 17:32:28 +01:00
Remove tests expecting client-side validation errors for dots/dollars in field names. Syncs BSON corpus tests with mongodb/specifications@a274fbfddf Bump libmongoc submodule to 1.18-dev
21 lines
470 B
PHP
21 lines
470 B
PHP
--TEST--
|
|
Binary type: $uuid wrong type
|
|
--DESCRIPTION--
|
|
Generated by scripts/convert-bson-corpus-tests.php
|
|
|
|
DO NOT EDIT THIS FILE
|
|
--FILE--
|
|
<?php
|
|
|
|
require_once __DIR__ . '/../utils/basic.inc';
|
|
|
|
throws(function() {
|
|
fromJSON('{"x" : { "$uuid" : { "data" : "73ffd264-44b3-4c69-90e8-e7d1dfc035d4"}}}');
|
|
}, 'MongoDB\Driver\Exception\UnexpectedValueException');
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECT--
|
|
OK: Got MongoDB\Driver\Exception\UnexpectedValueException
|
|
===DONE===
|