mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-25 17:32:28 +01:00
28 lines
471 B
PHP
28 lines
471 B
PHP
--TEST--
|
|
MongoDB\Driver\ReadConcern debug output
|
|
--FILE--
|
|
<?php
|
|
|
|
require_once __DIR__ . '/../utils/basic.inc';
|
|
|
|
$tests = [
|
|
new MongoDB\Driver\ReadConcern(),
|
|
new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::LOCAL),
|
|
];
|
|
|
|
foreach ($tests as $test) {
|
|
var_dump($test);
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
object(MongoDB\Driver\ReadConcern)#%d (%d) {
|
|
}
|
|
object(MongoDB\Driver\ReadConcern)#%d (%d) {
|
|
["level"]=>
|
|
string(5) "local"
|
|
}
|
|
===DONE===
|