mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-24 17:08:03 +02:00
6929bcb608
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
459 B
PHP
21 lines
459 B
PHP
--TEST--
|
|
Top-level document validity: Bad $minKey (boolean, not integer)
|
|
--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('{"a" : {"$minKey" : true}}');
|
|
}, 'MongoDB\Driver\Exception\UnexpectedValueException');
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECT--
|
|
OK: Got MongoDB\Driver\Exception\UnexpectedValueException
|
|
===DONE===
|