Skip to content

Commit c4e57d2

Browse files
committed
Fix tests
1 parent c286209 commit c4e57d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/bson/bson-ods-002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class Person implements BSON\Persistable {
127127
}
128128

129129

130-
$m = new MongoDB\Driver\Manager("mongodb://localhost");
130+
$m = new MongoDB\Driver\Manager(STANDALONE);
131131

132132
try {
133133
/* Drop the collection between runs */

tests/standalone/bug0166.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ try {
1717
var_dump(false);
1818
}
1919

20-
$manager = new MongoDB\Driver\Manager("mongodb://localhost");
20+
$manager = new MongoDB\Driver\Manager(STANDALONE);
2121
throws(function() use ($manager) {
2222
serialize($manager);
2323
}, "Exception");

0 commit comments

Comments
 (0)