File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,15 @@ if [ "$PROVIDER_NAME" = "azure" ]; then
22
22
MONGODB_URI=" ${MONGODB_URI} &authMechanismProperties=PROVIDER_NAME:azure"
23
23
MONGODB_URI=" ${MONGODB_URI} ,TOKEN_AUDIENCE:api%3A%2F%2F${AZUREOIDC_CLIENTID} "
24
24
export MONGODB_URI=" ${MONGODB_URI} ,TOKEN_CLIENT_ID:${AZUREOIDC_TOKENCLIENT} "
25
- export UTIL_CLIENT_USER=" bob"
26
- export UTIL_CLIENT_PASSWORD=" pwd123"
27
- npm run check:oidc-auth-azure
28
25
else
29
26
if [ -z " ${OIDC_TOKEN_DIR} " ]; then
30
27
echo " Must specify OIDC_TOKEN_DIR"
31
28
exit 1
32
29
fi
33
30
34
31
export MONGODB_URI=" ${MONGODB_URI} /test?authMechanism=MONGODB-OIDC&authMechanismProperties=PROVIDER_NAME:aws"
35
- export UTIL_CLIENT_USER=" bob"
36
- export UTIL_CLIENT_PASSWORD=" pwd123"
37
- npm run check:oidc-auth-aws
38
- fi
32
+ fi
33
+
34
+ export UTIL_CLIENT_USER=" bob"
35
+ export UTIL_CLIENT_PASSWORD=" pwd123"
36
+ npm run check:oidc-auth
Original file line number Diff line number Diff line change 148
148
"check:adl" : " mocha --config test/mocha_mongodb.json test/manual/atlas-data-lake-testing" ,
149
149
"check:aws" : " nyc mocha --config test/mocha_mongodb.json test/integration/auth/mongodb_aws.test.ts" ,
150
150
"check:oidc" : " mocha --config test/mocha_mongodb.json test/manual/mongodb_oidc.prose.test.ts" ,
151
- "check:oidc-auth-aws " : " mocha --config test/mocha_mongodb.json test/integration/auth/auth.spec.test.ts" ,
151
+ "check:oidc-auth" : " mocha --config test/mocha_mongodb.json test/integration/auth/auth.spec.test.ts" ,
152
152
"check:oidc-azure" : " mocha --config test/mocha_mongodb.json test/integration/auth/mongodb_oidc_azure.prose.test.ts" ,
153
153
"check:ocsp" : " mocha --config test/manual/mocharc.json test/manual/ocsp_support.test.js" ,
154
154
"check:kerberos" : " nyc mocha --config test/manual/mocharc.json test/manual/kerberos.test.ts" ,
You can’t perform that action at this time.
0 commit comments