diff --git a/apps/api/src/donations/events/stripe-payment.service.spec.ts b/apps/api/src/donations/events/stripe-payment.service.spec.ts index 87b152a28..07f4a997b 100644 --- a/apps/api/src/donations/events/stripe-payment.service.spec.ts +++ b/apps/api/src/donations/events/stripe-payment.service.spec.ts @@ -212,9 +212,7 @@ describe('StripePaymentService', () => { .spyOn(campaignService, 'getCampaignById') .mockImplementation(() => Promise.resolve(mockedCampaign)) - const paymentData = getPaymentData( - mockPaymentEventCancelled.data.object as Stripe.PaymentIntent, - ) + const paymentData = getPaymentData(mockPaymentEventFailed.data.object as Stripe.PaymentIntent) const mockedUpdateDonationPayment = jest .spyOn(campaignService, 'updateDonationPayment')