@@ -38,17 +38,17 @@ echo throws(function() {
38
38
<?php exit (0 ); ?>
39
39
--EXPECT--
40
40
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
41
- Failed to parse MongoDB URI: 'mongodb://localhost:27017/?authMechanism=GSSAPI&authSource=admin'. GSSAPI and X509 require "$external" authSource .
41
+ Failed to parse MongoDB URI: 'mongodb://localhost:27017/?authMechanism=GSSAPI&authSource=admin'. ' GSSAPI' authentication mechanism requires a username .
42
42
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
43
- Failed to parse URI options: GSSAPI and X509 require "$external" authSource
43
+ Failed to parse URI options: ' GSSAPI' authentication mechanism requires a username
44
44
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
45
- Failed to parse MongoDB URI: 'mongodb://localhost:27017/?authMechanism=MONGODB-X509&authSource=admin'. GSSAPI and X509 require "$external" authSource.
45
+ Failed to parse MongoDB URI: 'mongodb://localhost:27017/?authMechanism=MONGODB-X509&authSource=admin'. 'MONGODB-X509' authentication mechanism requires "$external" authSource, but "admin" was specified .
46
46
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
47
- Failed to parse URI options: GSSAPI and X509 require "$external" authSource
47
+ Failed to parse URI options: 'MONGODB-X509' authentication mechanism requires "$external" authSource, but "admin" was specified
48
48
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
49
- Failed to parse MongoDB URI: 'mongodb://@localhost:27017/?authMechanism=SCRAM-SHA-1'. 'SCRAM-SHA-1' authentication mechanism requires username.
49
+ Failed to parse MongoDB URI: 'mongodb://@localhost:27017/?authMechanism=SCRAM-SHA-1'. 'SCRAM-SHA-1' authentication mechanism requires a username.
50
50
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
51
- Failed to parse URI options: 'SCRAM-SHA-1' authentication mechanism requires username
51
+ Failed to parse URI options: 'SCRAM-SHA-1' authentication mechanism requires a username
52
52
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
53
53
Failed to parse URI options: 'MONGODB-X509' authentication mechanism does not accept a password
54
54
===DONE===
0 commit comments