File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 440440 }
441441 }
442442 },
443+ {
444+ "description" : " should throw an exception if username provided (MONGODB-AWS)" ,
445+ "uri" : " mongodb://user@localhost.com/?authMechanism=MONGODB-AWS" ,
446+ "valid" : false
447+ },
448+ {
449+ "description" : " should throw an exception if username and password provided (MONGODB-AWS)" ,
450+ "uri" : " mongodb://user:pass@localhost.com/?authMechanism=MONGODB-AWS" ,
451+ "valid" : false
452+ },
453+ {
454+ "description" : " should throw an exception if AWS_SESSION_TOKEN provided (MONGODB-AWS)" ,
455+ "uri" : " mongodb://localhost/?authMechanism=MONGODB-AWS&authMechanismProperties=AWS_SESSION_TOKEN:token" ,
456+ "valid" : false
457+ },
443458 {
444459 "description" : " should recognise the mechanism with test environment (MONGODB-OIDC)" ,
445460 "uri" : " mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:test" ,
You can’t perform that action at this time.
0 commit comments