From 4e5b318583f50339d7a597d539ebf6d960c108a9 Mon Sep 17 00:00:00 2001 From: Adrien de Peretti Date: Fri, 31 Oct 2025 15:51:26 +0100 Subject: [PATCH] fix(): update Integration test enabling index when not necessary (#13904) * fix(): update Integration test enabling index when not necessary * fix --- .../modules/__tests__/modules/crud.methods.spec.ts | 6 ------ integration-tests/modules/medusa-config.ts | 1 - 2 files changed, 7 deletions(-) diff --git a/integration-tests/modules/__tests__/modules/crud.methods.spec.ts b/integration-tests/modules/__tests__/modules/crud.methods.spec.ts index a66afe01f7..31d8d5d21b 100644 --- a/integration-tests/modules/__tests__/modules/crud.methods.spec.ts +++ b/integration-tests/modules/__tests__/modules/crud.methods.spec.ts @@ -2,8 +2,6 @@ import { medusaIntegrationTestRunner } from "@medusajs/test-utils" jest.setTimeout(100000) -process.env.ENABLE_INDEX_MODULE = "true" - medusaIntegrationTestRunner({ testSuite: ({ getContainer, dbConnection, api, dbConfig }) => { let appContainer @@ -12,10 +10,6 @@ medusaIntegrationTestRunner({ appContainer = getContainer() }) - afterAll(() => { - process.env.ENABLE_INDEX_MODULE = "false" - }) - describe("auto-generated CRUD methods", () => { it("should create brands", async () => { const brandModule = appContainer.resolve("brand") diff --git a/integration-tests/modules/medusa-config.ts b/integration-tests/modules/medusa-config.ts index f59386da32..ef37e72194 100644 --- a/integration-tests/modules/medusa-config.ts +++ b/integration-tests/modules/medusa-config.ts @@ -188,7 +188,6 @@ module.exports = defineConfig({ { key: "brand", resolve: "src/modules/brand", - disable: process.env.ENABLE_INDEX_MODULE !== "true", }, ], })