diff --git a/processor/tests/service/payment.service.spec.ts b/processor/tests/service/payment.service.spec.ts index f0da235..7b6290b 100644 --- a/processor/tests/service/payment.service.spec.ts +++ b/processor/tests/service/payment.service.spec.ts @@ -76,7 +76,6 @@ describe('Test listPaymentMethodsByPayment', () => { }); let mockResource: Payment; - let mockResponse: Record; test('call listPaymentMethodsByPayment with valid object reference', async () => { (listPaymentMethods as jest.Mock).mockReturnValueOnce([ @@ -195,17 +194,6 @@ describe('Test listPaymentMethodsByPayment', () => { } as unknown as CustomFields, } as unknown as Payment; - mockResponse = { - statusCode: 200, - actions: [ - { - action: 'setCustomField', - name: 'sctm_payment_methods_response', - value: '{"methods":[]}', - }, - ], - }; - const response = await handleListPaymentMethodsByPayment(mockResource); expect(response).toBeDefined();