Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/LIBMONGOC_VERSION_CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.1-20210804+git230369cd07
1.19.0
2 changes: 1 addition & 1 deletion src/libmongoc
Submodule libmongoc updated 110 files
7 changes: 1 addition & 6 deletions tests/manager/manager-ctor-auth_mechanism-error-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ echo throws(function() {
create_test_manager('mongodb://localhost:27017/', ['password' => 'password', 'authMechanism' => 'MONGODB-X509']);
}, "MongoDB\Driver\Exception\InvalidArgumentException"), "\n";

echo throws(function() {
create_test_manager('mongodb://localhost:27017/?authSource=foo');
}, "MongoDB\Driver\Exception\InvalidArgumentException"), "\n";

// TODO: This test case should be removed by PHPC-1950
echo throws(function() {
create_test_manager('mongodb://localhost:27017/', ['authSource' => 'foo']);
}, "MongoDB\Driver\Exception\InvalidArgumentException"), "\n";
Expand All @@ -60,7 +57,5 @@ Failed to parse URI options: 'SCRAM-SHA-1' authentication mechanism requires use
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
Failed to parse URI options: X509 authentication mechanism does not accept a password.
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
Failed to parse MongoDB URI: 'mongodb://localhost:27017/?authSource=foo'. Default authentication mechanism requires username.
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
Failed to parse URI options: Default authentication mechanism requires username.
===DONE===