Skip to content

Commit

Permalink
MOL-440/MOL-542 + MOL-440/MOL-545: update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tdang1-shopmacher committed Oct 17, 2024
1 parent 2339112 commit 7e7a786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/tests/service/payment.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ describe('Test listPaymentMethodsByPayment', () => {
} as unknown as Payment;

try {
const response = await handleListPaymentMethodsByPayment(mockResource);
await handleListPaymentMethodsByPayment(mockResource);
} catch (error: unknown) {
expect(error).toBeInstanceOf(CustomError);
expect((error as CustomError).message).toBe('billingCountry is not provided.');
Expand Down

0 comments on commit 7e7a786

Please sign in to comment.