chore: remove container registration name (#9137)
This commit is contained in:
committed by
GitHub
parent
ab4a422fc8
commit
950cf9af79
@@ -1,5 +1,5 @@
|
||||
import { IAuthModuleService } from "@medusajs/types"
|
||||
import { ModuleRegistrationName } from "@medusajs/utils"
|
||||
import { Modules } from "@medusajs/utils"
|
||||
import { medusaIntegrationTestRunner } from "medusa-test-utils"
|
||||
import Scrypt from "scrypt-kdf"
|
||||
import {
|
||||
@@ -32,7 +32,7 @@ medusaIntegrationTestRunner({
|
||||
await Scrypt.kdf(password, { logN: 15, r: 8, p: 1 })
|
||||
).toString("base64")
|
||||
const authService: IAuthModuleService = appContainer.resolve(
|
||||
ModuleRegistrationName.AUTH
|
||||
Modules.AUTH
|
||||
)
|
||||
|
||||
await authService.createAuthIdentities({
|
||||
@@ -67,7 +67,7 @@ medusaIntegrationTestRunner({
|
||||
await Scrypt.kdf(password, { logN: 15, r: 8, p: 1 })
|
||||
).toString("base64")
|
||||
const authService: IAuthModuleService = appContainer.resolve(
|
||||
ModuleRegistrationName.AUTH
|
||||
Modules.AUTH
|
||||
)
|
||||
|
||||
await authService.createAuthIdentities({
|
||||
|
||||
Reference in New Issue
Block a user