chore: fix variant pricing validation for carts (#7344)

This commit is contained in:
Riqwan Thamir
2024-05-16 09:03:37 +02:00
committed by GitHub
parent 22f30f54fd
commit b78703b8c6
4 changed files with 17 additions and 6 deletions
@@ -367,6 +367,11 @@ medusaIntegrationTestRunner({
},
])
const region = await regionModuleService.create({
name: "US",
currency_code: "usd",
})
const priceSet = await pricingModule.create({
prices: [
{
@@ -405,6 +410,7 @@ medusaIntegrationTestRunner({
const { errors } = await createCartWorkflow(appContainer).run({
input: {
region_id: region.id,
sales_channel_id: salesChannel.id,
items: [
{