Skip to content

Commit 4a9c741

Browse files
tracyboehrerTracy Boehrer
and
Tracy Boehrer
authored
Suppress fake secret in unit test. (#4850)
Co-authored-by: Tracy Boehrer <[email protected]>
1 parent 29ae34b commit 4a9c741

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/botframework-connector/tests/auth/emulatorValidation.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const { EmulatorValidation, AuthenticationConstants } = require('../..');
44
const { strictEqual } = require('assert');
55

66
function generateMockBearerToken(issuer) {
7+
// [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a fake secret.")]
78
const secretKey = 'ThisIsASuperMockSecretKey123456789';
89
const tenantId = uuidv4();
910
const completeIssuer = issuer ? issuer.replace('{0}', tenantId) : null;

0 commit comments

Comments
 (0)