Skip to content

Commit 5500077

Browse files
committed
Update error expectations for libmongoc 2.1
1 parent c464e17 commit 5500077

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/manager/manager-ctor-006.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ echo throws(function() {
1414
<?php exit(0); ?>
1515
--EXPECT--
1616
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
17-
Failed to parse MongoDB URI: 'invalid'. Invalid URI Schema, expecting 'mongodb://' or 'mongodb+srv://'.
17+
Failed to parse MongoDB URI: 'invalid'. Invalid URI, no scheme part specified.
1818
===DONE===

tests/manager/manager-ctor_error-002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ echo throws(function() {
1414
<?php exit(0); ?>
1515
--EXPECT--
1616
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
17-
Failed to parse MongoDB URI: 'not a valid connection string'. Invalid URI Schema, expecting 'mongodb://' or 'mongodb+srv://'.
17+
Failed to parse MongoDB URI: 'not a valid connection string'. Invalid URI, no scheme part specified.
1818
===DONE===

tests/manager/manager-ctor_error-004.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo throws(function () {
1919
<?php exit(0); ?>
2020
--EXPECT--
2121
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
22-
Failed to parse MongoDB URI: 'mongodb://localhost:27017/?replicaSet='. Value for URI option "replicaset" cannot be empty string.
22+
Failed to parse MongoDB URI: 'mongodb://localhost:27017/?replicaSet='. Value for URI option "replicaSet" cannot be empty string.
2323
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
2424
Value for URI option "replicaSet" cannot be empty string.
2525
===DONE===

0 commit comments

Comments
 (0)