Skip to content

Commit 8b803ee

Browse files
committed
Merge pull request #807
2 parents a2638ae + 4967eff commit 8b803ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/manager/manager-invalidnamespace.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
--TEST--
22
MongoDB\Driver\Manager: Invalid namespace
33
--SKIPIF--
4-
<?php require __DIR__ . "/../utils/basic-skipif.inc"?>
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
55
<?php NEEDS('STANDALONE'); ?>
66
--FILE--
77
<?php
88

9-
require_once __DIR__ . '/../utils/tools.php';
9+
require_once __DIR__ . "/../utils/basic.inc";
1010

11-
$manager = new MongoDB\Driver\Manager();
11+
$manager = new MongoDB\Driver\Manager(STANDALONE);
1212
$bulk = new MongoDB\Driver\BulkWrite;
1313
$bulk->insert(array("my" => "value"));
1414

tests/standalone/bug0357.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PHPC-357: The exception for "invalid namespace" does not list the broken name
77
<?php
88
require_once __DIR__ . "/../utils/basic.inc";
99

10-
$m = new MongoDB\Driver\Manager(null);
10+
$manager = new MongoDB\Driver\Manager(STANDALONE);
1111
$c = new MongoDB\Driver\Query(array());
1212

1313
echo throws(function() use($m, $c) {

0 commit comments

Comments
 (0)