fix(pricing): Only get prices from active price list (#7753)
This commit is contained in:
1 parent
2d8d2c4255
commit
12a57836a7
2 files changed
+9
-3
No files matched your search
+2
-1
@@ -5,7 +5,7 @@ import {
|
||||
IPricingModuleService,
|
||||
PricingTypes,
|
||||
} from "@medusajs/types"
|
||||
import { PriceListType } from "@medusajs/utils"
|
||||
import { PriceListStatus, PriceListType } from "@medusajs/utils"
|
||||
import { SuiteOptions, moduleIntegrationTestRunner } from "medusa-test-utils"
|
||||
import { seedPriceData } from "../../../__fixtures__/seed-price-data"
|
||||
|
||||
@@ -41,6 +41,7 @@ const createPriceLists = async (
|
||||
title: "Test Price List",
|
||||
description: "test description",
|
||||
type: PriceListType.SALE,
|
||||
status: PriceListStatus.ACTIVE,
|
||||
rules,
|
||||
prices,
|
||||
...priceListOverride,
|
||||
|
||||
Reference in new issue
Block a user