chore: joiner config entity property (#9084)

This commit is contained in:
Carlos R. L. Rodrigues
2024-09-11 06:25:25 -03:00
committed by GitHub
parent 28dc8d4d17
commit fdd0543011
80 changed files with 464 additions and 294 deletions
@@ -1,7 +1,7 @@
import { moduleIntegrationTestRunner } from "medusa-test-utils"
import { IPricingModuleService } from "@medusajs/types"
import { Module, Modules } from "@medusajs/utils"
import { PricingModuleService } from "@services"
import { moduleIntegrationTestRunner } from "medusa-test-utils"
moduleIntegrationTestRunner<IPricingModuleService>({
moduleName: Modules.PRICING,
@@ -27,6 +27,7 @@ moduleIntegrationTestRunner<IPricingModuleService>({
priceSet: {
id: {
linkable: "price_set_id",
entity: "PriceSet",
primaryKey: "id",
serviceName: "pricingService",
field: "priceSet",
@@ -35,6 +36,7 @@ moduleIntegrationTestRunner<IPricingModuleService>({
priceList: {
id: {
linkable: "price_list_id",
entity: "PriceList",
primaryKey: "id",
serviceName: "pricingService",
field: "priceList",
@@ -43,6 +45,7 @@ moduleIntegrationTestRunner<IPricingModuleService>({
price: {
id: {
linkable: "price_id",
entity: "Price",
primaryKey: "id",
serviceName: "pricingService",
field: "price",
@@ -51,6 +54,7 @@ moduleIntegrationTestRunner<IPricingModuleService>({
pricePreference: {
id: {
linkable: "price_preference_id",
entity: "PricePreference",
primaryKey: "id",
serviceName: "pricingService",
field: "pricePreference",