feat: Remove fields from payment models that were leftovers from v1 (#10987)
This commit is contained in:
@@ -15,7 +15,6 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
.createPaymentCollections([
|
||||
{
|
||||
amount: 200,
|
||||
region_id: "req_123",
|
||||
} as any,
|
||||
])
|
||||
.catch((e) => e)
|
||||
@@ -28,7 +27,7 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
|
||||
it("should create a payment collection successfully", async () => {
|
||||
const [createdPaymentCollection] =
|
||||
await service.createPaymentCollections([
|
||||
{ currency_code: "USD", amount: 200, region_id: "reg_123" },
|
||||
{ currency_code: "USD", amount: 200 },
|
||||
])
|
||||
|
||||
expect(createdPaymentCollection).toEqual(
|
||||
|
||||
Reference in New Issue
Block a user