chore(): Allow to register modules through array (#9522)
This commit is contained in:
+5
-5
@@ -37,7 +37,7 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
linkable: "payment_id",
|
||||
entity: "Payment",
|
||||
primaryKey: "id",
|
||||
serviceName: "Payment",
|
||||
serviceName: "payment",
|
||||
field: "payment",
|
||||
},
|
||||
},
|
||||
@@ -46,7 +46,7 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
linkable: "payment_collection_id",
|
||||
entity: "PaymentCollection",
|
||||
primaryKey: "id",
|
||||
serviceName: "Payment",
|
||||
serviceName: "payment",
|
||||
field: "paymentCollection",
|
||||
},
|
||||
},
|
||||
@@ -55,7 +55,7 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
linkable: "payment_provider_id",
|
||||
entity: "PaymentProvider",
|
||||
primaryKey: "id",
|
||||
serviceName: "Payment",
|
||||
serviceName: "payment",
|
||||
field: "paymentProvider",
|
||||
},
|
||||
},
|
||||
@@ -65,7 +65,7 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
entity: "PaymentSession",
|
||||
linkable: "payment_session_id",
|
||||
primaryKey: "id",
|
||||
serviceName: "Payment",
|
||||
serviceName: "payment",
|
||||
},
|
||||
},
|
||||
refundReason: {
|
||||
@@ -73,7 +73,7 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
linkable: "refund_reason_id",
|
||||
entity: "RefundReason",
|
||||
primaryKey: "id",
|
||||
serviceName: "Payment",
|
||||
serviceName: "payment",
|
||||
field: "refundReason",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user