From fe34ab5976003fcbd45b0e5a855a050ec4688a09 Mon Sep 17 00:00:00 2001 From: Sebastian Rindom Date: Fri, 15 Oct 2021 20:00:27 +0200 Subject: [PATCH] fix: tests --- .../api/__tests__/admin/__snapshots__/auth.js.snap | 14 -------------- .../api/__tests__/store/shipping-options.js | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/integration-tests/api/__tests__/admin/__snapshots__/auth.js.snap b/integration-tests/api/__tests__/admin/__snapshots__/auth.js.snap index bd72f27516..0824e3c74c 100644 --- a/integration-tests/api/__tests__/admin/__snapshots__/auth.js.snap +++ b/integration-tests/api/__tests__/admin/__snapshots__/auth.js.snap @@ -13,17 +13,3 @@ Object { "updated_at": Any, } `; - -exports[`/admin/discounts creates admin session correctly 1`] = ` -Object { - "api_token": "test_token", - "created_at": Any, - "deleted_at": null, - "email": "admin@medusa.js", - "first_name": null, - "id": "admin_user", - "last_name": null, - "metadata": null, - "updated_at": Any, -} -`; diff --git a/integration-tests/api/__tests__/store/shipping-options.js b/integration-tests/api/__tests__/store/shipping-options.js index 3235e878e4..06814a5cf6 100644 --- a/integration-tests/api/__tests__/store/shipping-options.js +++ b/integration-tests/api/__tests__/store/shipping-options.js @@ -16,7 +16,7 @@ describe("/store/shipping-options", () => { beforeAll(async () => { const cwd = path.resolve(path.join(__dirname, "..", "..")) dbConnection = await initDb({ cwd }) - medusaProcess = await setupServer({ cwd, verbose: true }) + medusaProcess = await setupServer({ cwd }) }) afterAll(async () => {