From 1bb94a42fa4471824dc34843526c584ed65ee5fa Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 14 Jun 2024 10:29:26 -0500 Subject: [PATCH] DRIVERS-2915 OIDC: Add missing data in connection string test --- source/connection-string/tests/valid-warnings.json | 4 +++- source/connection-string/tests/valid-warnings.yml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/source/connection-string/tests/valid-warnings.json b/source/connection-string/tests/valid-warnings.json index f0e8288bc7..daf814a75f 100644 --- a/source/connection-string/tests/valid-warnings.json +++ b/source/connection-string/tests/valid-warnings.json @@ -107,7 +107,9 @@ } ], "auth": null, - "options": null + "options": { + "authMechanism": "MONGODB-OIDC" + } } ] } diff --git a/source/connection-string/tests/valid-warnings.yml b/source/connection-string/tests/valid-warnings.yml index bdc64c5916..495f1827f0 100644 --- a/source/connection-string/tests/valid-warnings.yml +++ b/source/connection-string/tests/valid-warnings.yml @@ -84,4 +84,5 @@ tests: host: "localhost" port: ~ auth: ~ - options: ~ + options: + authMechanism: MONGODB-OIDC