Skip to content

Commit 57cdf9b

Browse files
authored
fix uri in username with test environment oidc test (#1597)
1 parent 517ce31 commit 57cdf9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/auth/tests/legacy/connection-string.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/auth/tests/legacy/connection-string.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ tests:
375375
valid: false
376376
credential:
377377
- description: should throw an exception if username is specified for test (MONGODB-OIDC)
378-
uri: mongodb://principalName@localhost/?authMechanism=MONGODB-OIDC&ENVIRONMENT:test
378+
uri: mongodb://principalName@localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:test
379379
valid: false
380380
credential:
381381
- description: should throw an exception if specified environment is not supported (MONGODB-OIDC)

0 commit comments

Comments
 (0)