From 8b8df859279623dcc2bee0e2071ea1733fc98cf8 Mon Sep 17 00:00:00 2001 From: AnatolyPristensky Date: Fri, 23 Feb 2024 15:27:57 +0100 Subject: [PATCH] Supress value in tests --- appcenter-cli-1ES.yml | 2 +- test/util/token-store/osx-keychain-parser-test.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/appcenter-cli-1ES.yml b/appcenter-cli-1ES.yml index eac5e4e40..9a1157f86 100644 --- a/appcenter-cli-1ES.yml +++ b/appcenter-cli-1ES.yml @@ -94,7 +94,7 @@ extends: - task: PowerShell@2 inputs: - filePath: '$(Build.SourcesDirectory)test/functional/Invoke-FunctionalTests.ps1' + filePath: '$(Build.SourcesDirectory)/test/functional/Invoke-FunctionalTests.ps1' arguments: '-Token $(ac-cli-account-api-token)' pwsh: true workingDirectory: $(Build.SourcesDirectory) diff --git a/test/util/token-store/osx-keychain-parser-test.ts b/test/util/token-store/osx-keychain-parser-test.ts index a2966f53c..6754a34cd 100644 --- a/test/util/token-store/osx-keychain-parser-test.ts +++ b/test/util/token-store/osx-keychain-parser-test.ts @@ -49,6 +49,7 @@ describe("storing data without a tokenId in keychain", function () { const keychain = tokenStore.createOsxTokenStore(); const testUser = "appcenter-user"; + //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="this is not a secret")] const testPassword = "Sekret!"; before(() => {