File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
MongoDB\Driver\Manager: Invalid namespace
3
3
--SKIPIF--
4
- <?php require __DIR__ . "/../utils/basic-skipif.inc " ?>
4
+ <?php require __DIR__ . "/../utils/basic-skipif.inc " ; ?>
5
5
<?php NEEDS ('STANDALONE ' ); ?>
6
6
--FILE--
7
7
<?php
8
8
9
- require_once __DIR__ . ' /../utils/tools.php ' ;
9
+ require_once __DIR__ . " /../utils/basic.inc " ;
10
10
11
- $ manager = new MongoDB \Driver \Manager ();
11
+ $ manager = new MongoDB \Driver \Manager (STANDALONE );
12
12
$ bulk = new MongoDB \Driver \BulkWrite ;
13
13
$ bulk ->insert (array ("my " => "value " ));
14
14
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PHPC-357: The exception for "invalid namespace" does not list the broken name
7
7
<?php
8
8
require_once __DIR__ . "/../utils/basic.inc " ;
9
9
10
- $ m = new MongoDB \Driver \Manager (null );
10
+ $ manager = new MongoDB \Driver \Manager (STANDALONE );
11
11
$ c = new MongoDB \Driver \Query (array ());
12
12
13
13
echo throws (function () use ($ m , $ c ) {
You can’t perform that action at this time.
0 commit comments