chore: remove container registration name (#9137)

This commit is contained in:
Carlos R. L. Rodrigues
2024-09-16 06:22:24 -03:00
committed by GitHub
parent ab4a422fc8
commit 950cf9af79
421 changed files with 1528 additions and 2496 deletions
@@ -1,5 +1,5 @@
import { IFulfillmentModuleService } from "@medusajs/types"
import { ModuleRegistrationName } from "@medusajs/utils"
import { Modules } from "@medusajs/utils"
import {
adminHeaders,
createAdminUser,
@@ -29,7 +29,7 @@ medusaIntegrationTestRunner({
// TODO: Add support for creating fulfillment sets through HTTP
const fulfillmentModule: IFulfillmentModuleService =
getContainer().resolve(ModuleRegistrationName.FULFILLMENT)
getContainer().resolve(Modules.FULFILLMENT)
fulfillmentSet1 = await fulfillmentModule.createFulfillmentSets({
name: "Test fulfillment set",