Skip to content

Commit cc1c7ec

Browse files
committed
Update connection-string latest specifications/pull/1569
1 parent 4a844b1 commit cc1c7ec

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

driver-core/src/test/resources/auth/legacy/connection-string.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -474,13 +474,13 @@
474474
}
475475
},
476476
{
477-
"description": "should throw an exception if username and password is specified for test environment (MONGODB-OIDC)",
477+
"description": "should throw an exception if supplied a password (MONGODB-OIDC)",
478478
"uri": "mongodb://user:pass@localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:test",
479479
"valid": false,
480480
"credential": null
481481
},
482482
{
483-
"description": "should throw an exception if username is specified for test environment (MONGODB-OIDC)",
483+
"description": "should throw an exception if username is specified for test (MONGODB-OIDC)",
484484
"uri": "mongodb://principalName@localhost/?authMechanism=MONGODB-OIDC&ENVIRONMENT:test",
485485
"valid": false,
486486
"credential": null
@@ -503,12 +503,6 @@
503503
"valid": false,
504504
"credential": null
505505
},
506-
{
507-
"description": "should throw an exception if neither provider nor callbacks specified (MONGODB-OIDC)",
508-
"uri": "mongodb://localhost/?authMechanism=MONGODB-OIDC",
509-
"valid": false,
510-
"credential": null
511-
},
512506
{
513507
"description": "should recognise the mechanism with azure provider (MONGODB-OIDC)",
514508
"uri": "mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:azure,TOKEN_RESOURCE:foo",

0 commit comments

Comments
 (0)