fix(medusa): Product model before insert hook (#5200)
**What** When the id is provided, the rest of the hook should still apply. At the moment, when the id is provided the hook is skipped
This commit is contained in:
@@ -179,7 +179,7 @@ describe("/store/carts", () => {
|
||||
stocked_quantity: 100,
|
||||
})
|
||||
|
||||
const customer = await simpleCustomerFactory(dbConnection, {})
|
||||
const customer = await simpleCustomerFactory(dbConnection, {}, 100)
|
||||
|
||||
const cart = await simpleCartFactory(dbConnection, {
|
||||
email: "testme@email.com",
|
||||
|
||||
Reference in New Issue
Block a user