From 94ef18d91bbf5eaaf4886427f434e56a294bcbd8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 10 Apr 2024 20:31:55 -0500 Subject: [PATCH] fix connection string tests --- source/auth/tests/legacy/connection-string.json | 4 ++-- source/auth/tests/legacy/connection-string.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/auth/tests/legacy/connection-string.json b/source/auth/tests/legacy/connection-string.json index 3c7a6b1d14..e4a03a0d9c 100644 --- a/source/auth/tests/legacy/connection-string.json +++ b/source/auth/tests/legacy/connection-string.json @@ -482,7 +482,7 @@ } }, { - "description": "should recognise the mechanism with test integration (MONGODB-OIDC)", + "description": "should recognise the mechanism with test environment (MONGODB-OIDC)", "uri": "mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:test", "valid": true, "credential": { @@ -609,4 +609,4 @@ "credential": null } ] -} +} \ No newline at end of file diff --git a/source/auth/tests/legacy/connection-string.yml b/source/auth/tests/legacy/connection-string.yml index b35e5c520d..cf10cbf8db 100644 --- a/source/auth/tests/legacy/connection-string.yml +++ b/source/auth/tests/legacy/connection-string.yml @@ -390,7 +390,6 @@ tests: uri: mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=UnsupportedProperty:unexisted valid: false credential: - credential: - description: should recognise the mechanism with azure provider (MONGODB-OIDC) uri: mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:azure,TOKEN_RESOURCE:foo valid: true