File tree 1 file changed +2
-8
lines changed
driver-core/src/test/resources/auth/legacy
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 474
474
}
475
475
},
476
476
{
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)" ,
478
478
"uri" : " mongodb://user:pass@localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:test" ,
479
479
"valid" : false ,
480
480
"credential" : null
481
481
},
482
482
{
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)" ,
484
484
"uri" : " mongodb://principalName@localhost/?authMechanism=MONGODB-OIDC&ENVIRONMENT:test" ,
485
485
"valid" : false ,
486
486
"credential" : null
503
503
"valid" : false ,
504
504
"credential" : null
505
505
},
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
- },
512
506
{
513
507
"description" : " should recognise the mechanism with azure provider (MONGODB-OIDC)" ,
514
508
"uri" : " mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:azure,TOKEN_RESOURCE:foo" ,
You can’t perform that action at this time.
0 commit comments