File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/connection_string/test Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
},
41
41
{
42
42
"description" : " Colon in a key value pair" ,
43
- "uri" : " mongodb://example.com? authMechanismProperties=TOKEN_RESOURCE:mongodb://test-cluster" ,
43
+ "uri" : " mongodb://example.com/?authMechanism=MONGODB-OIDC& authMechanismProperties=TOKEN_RESOURCE:mongodb://test-cluster" ,
44
44
"valid" : true ,
45
45
"warning" : false ,
46
46
"hosts" : [
Original file line number Diff line number Diff line change 96
96
},
97
97
{
98
98
"description" : " Comma in a key value pair causes a warning" ,
99
- "uri" : " mongodb://example.com? authMechanismProperties=TOKEN_RESOURCE:mongodb://host1%2Chost2" ,
99
+ "uri" : " mongodb://localhost?authMechanism=MONGODB-OIDC& authMechanismProperties=TOKEN_RESOURCE:mongodb://host1%2Chost2" ,
100
100
"valid" : true ,
101
101
"warning" : true ,
102
102
"hosts" : [
103
103
{
104
104
"type" : " hostname" ,
105
- "host" : " example.com " ,
105
+ "host" : " localhost " ,
106
106
"port" : null
107
107
}
108
108
],
You can’t perform that action at this time.
0 commit comments