mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-25 01:18:07 +02:00
27 lines
500 B
PHP
27 lines
500 B
PHP
--TEST--
|
|
MongoDB\Driver\ReadConcern: var_export()
|
|
--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) {
|
|
echo var_export($test, true), "\n";
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
%r\\?%rMongoDB\Driver\ReadConcern::__set_state(array(
|
|
))
|
|
%r\\?%rMongoDB\Driver\ReadConcern::__set_state(array(
|
|
'level' => 'local',
|
|
))
|
|
===DONE===
|