Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: tests failing
Daniel Hougaardb4f26aac2575
diff --git a/.github/workflows/run-cli-tests.yml b/.github/workflows/run-cli-tests.ymlindex c8ca38b945..da6f507a7e 100644--- a/.github/workflows/run-cli-tests.yml+++ b/.github/workflows/run-cli-tests.yml@@ -52,6 +52,4 @@ jobs:CLI_TESTS_USER_PASSWORD: ${{ secrets.CLI_TESTS_USER_PASSWORD }}# INFISICAL_VAULT_FILE_PASSPHRASE: ${{ secrets.CLI_TESTS_INFISICAL_VAULT_FILE_PASSPHRASE }}- run: UPDATE_SNAPSHOTS=true go test -v -count=1 ./test- - name: Print updated files- run: cat ./test/.snapshots/test-TestUniversalAuth_SecretsGetWrongEnvironment+ run: go test -v -count=1 ./testdiff --git a/cli/test/.snapshots/test-TestUniversalAuth_SecretsGetWrongEnvironment b/cli/test/.snapshots/test-TestUniversalAuth_SecretsGetWrongEnvironmentindex b447d947e8..71b8da00c2 100644--- a/cli/test/.snapshots/test-TestUniversalAuth_SecretsGetWrongEnvironment+++ b/cli/test/.snapshots/test-TestUniversalAuth_SecretsGetWrongEnvironment@@ -1,4 +1,4 @@-error: CallGetRawSecretsV3: Unsuccessful response [GET https://app.infisical.com/api/v3/secrets/raw?environment=invalid-env&expandSecretReferences=true&include_imports=true&recursive=true&secretPath=%2F&workspaceId=bef697d4-849b-4a75-b284-0922f87f8ba2] [status-code=404] [response={"error":"NotFound","message":"Environment with slug 'invalid-env' in project with ID bef697d4-849b-4a75-b284-0922f87f8ba2 not found","statusCode":404}]+error: CallGetRawSecretsV3 Unsuccessful response [GET https://app.infisical.com/api/v3/secrets/raw?environment=invalid-env&expandSecretReferences=true&include_imports=true&recursive=true&secretPath=%2F&workspaceId=bef697d4-849b-4a75-b284-0922f87f8ba2] [status-code=404] [request-id=req-vp69RebVGgAs83] [message="Environment with slug 'invalid-env' in project with ID bef697d4-849b-4a75-b284-0922f87f8ba2 not found"]If this issue continues, get support at https://infisical.com/slack