From 4a9c741533a249b072a5bc9376b0957442a961f5 Mon Sep 17 00:00:00 2001 From: tracyboehrer Date: Fri, 24 Jan 2025 14:14:32 -0600 Subject: [PATCH] Suppress fake secret in unit test. (#4850) Co-authored-by: Tracy Boehrer --- .../botframework-connector/tests/auth/emulatorValidation.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/botframework-connector/tests/auth/emulatorValidation.test.js b/libraries/botframework-connector/tests/auth/emulatorValidation.test.js index bbe06e02bc..fb3d393cf6 100644 --- a/libraries/botframework-connector/tests/auth/emulatorValidation.test.js +++ b/libraries/botframework-connector/tests/auth/emulatorValidation.test.js @@ -4,6 +4,7 @@ const { EmulatorValidation, AuthenticationConstants } = require('../..'); const { strictEqual } = require('assert'); function generateMockBearerToken(issuer) { + // [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a fake secret.")] const secretKey = 'ThisIsASuperMockSecretKey123456789'; const tenantId = uuidv4(); const completeIssuer = issuer ? issuer.replace('{0}', tenantId) : null;