Files
mongo-php-driver/tests/manager/manager-ctor-003.phpt
2018-02-27 09:48:25 -05:00

17 lines
337 B
PHP

--TEST--
MongoDB\Driver\Manager::__construct() URI defaults to "mongodb://127.0.0.1/"
--FILE--
<?php
ini_set('mongodb.debug', 'stderr');
$manager = new MongoDB\Driver\Manager();
ini_set('mongodb.debug', '');
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
[%s] PHONGO: DEBUG > Connection string: 'mongodb://127.0.0.1/'
%A
===DONE===