From 4e6673066e0c936ac7072d88ad77069b9c61eb44 Mon Sep 17 00:00:00 2001 From: yonada Date: Mon, 29 Apr 2024 11:09:25 +0100 Subject: [PATCH] test(common): kms test uses sdk environment variable (#2759) --- .github/workflows/test.yml | 2 +- packages/common/src/account/kms/kmsKeyToAccount.test.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 542a6807d8..1d66cf3aea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: if: steps.check_changes.outputs.changes_outside_docs env: DATABASE_URL: "postgres://postgres@localhost:5432/postgres" - KMS_ENDPOINT: "http://localhost:8080" + AWS_ENDPOINT_URL: "http://localhost:8080" run: pnpm test:ci - name: Generate gas reports diff --git a/packages/common/src/account/kms/kmsKeyToAccount.test.ts b/packages/common/src/account/kms/kmsKeyToAccount.test.ts index 7d739bad27..a169493dda 100644 --- a/packages/common/src/account/kms/kmsKeyToAccount.test.ts +++ b/packages/common/src/account/kms/kmsKeyToAccount.test.ts @@ -13,7 +13,6 @@ describe("kmsKeyToAccount", () => { beforeAll(async () => { const client = new KMSClient({ - endpoint: process.env.KMS_ENDPOINT, region: "local", credentials: { accessKeyId: "AKIAXTTRUF7NU7KDMIED",