chore(payment): Payment module DML (#10553)
* chore(payment): Payment module DML * rm log * migration
This commit is contained in:
+2
-12
@@ -1,7 +1,7 @@
|
||||
import { IPaymentModuleService } from "@medusajs/framework/types"
|
||||
import { Module, Modules, promiseAll } from "@medusajs/framework/utils"
|
||||
import { PaymentModuleService } from "@services"
|
||||
import { moduleIntegrationTestRunner } from "@medusajs/test-utils"
|
||||
import { PaymentModuleService } from "@services"
|
||||
import {
|
||||
createPaymentCollections,
|
||||
createPayments,
|
||||
@@ -24,10 +24,9 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
}).linkable
|
||||
|
||||
expect(Object.keys(linkable)).toEqual([
|
||||
"payment",
|
||||
"paymentCollection",
|
||||
"paymentProvider",
|
||||
"paymentSession",
|
||||
"payment",
|
||||
"refundReason",
|
||||
])
|
||||
|
||||
@@ -54,15 +53,6 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
field: "paymentCollection",
|
||||
},
|
||||
},
|
||||
paymentProvider: {
|
||||
id: {
|
||||
linkable: "payment_provider_id",
|
||||
entity: "PaymentProvider",
|
||||
primaryKey: "id",
|
||||
serviceName: "payment",
|
||||
field: "paymentProvider",
|
||||
},
|
||||
},
|
||||
paymentSession: {
|
||||
id: {
|
||||
field: "paymentSession",
|
||||
|
||||
Reference in New Issue
Block a user