diff --git a/services/121-service/test/registrations/pagination/filter-registration.payment.test.ts b/services/121-service/test/registrations/pagination/filter-registration.payment.test.ts index 68f57fa574..57417210eb 100644 --- a/services/121-service/test/registrations/pagination/filter-registration.payment.test.ts +++ b/services/121-service/test/registrations/pagination/filter-registration.payment.test.ts @@ -23,7 +23,7 @@ import { registrationOCW1, registrationOCW3, registrationOCW4, - registrationPV5, + registrationOCW5, registrationPV6, } from '@121-service/test/registrations/pagination/pagination-data'; @@ -31,7 +31,7 @@ describe('Load PA table', () => { describe('getting registration using paginate and filtering on payment', () => { registrationOCW3.lastName = 'mock-fail-create-customer'; // This number implies that in mock-service no incoming 'yes' is triggered, so that the transaction stays on 'waiting' - registrationPV5.whatsappPhoneNumber = '16005550002'; + registrationOCW5.whatsappPhoneNumber = '16005550002'; let accessToken: string; const payment1 = 1; @@ -41,7 +41,7 @@ describe('Load PA table', () => { const registrations = [ registrationOCW1, registrationOCW3, - registrationPV5, + registrationOCW5, registrationOCW4, ]; const paymentReferenceIds = registrations.map( @@ -114,7 +114,7 @@ describe('Load PA table', () => { // Assert const expectedValueObjectWaiting = createExpectedValueObject( - registrationPV5, + registrationOCW5, 3, ); diff --git a/services/121-service/test/registrations/pagination/pagination-data.ts b/services/121-service/test/registrations/pagination/pagination-data.ts index e41841db0c..3baba20136 100644 --- a/services/121-service/test/registrations/pagination/pagination-data.ts +++ b/services/121-service/test/registrations/pagination/pagination-data.ts @@ -86,6 +86,17 @@ export const registrationOCW4 = { addressCity: 'AnotherCity', }; +export const registrationOCW5 = { + referenceId: '54e62864557597e034', + preferredLanguage: LanguageEnum.nl, + paymentAmountMultiplier: 3, + firstName: 'Lars', + lastName: 'Larsson', + phoneNumber: '14155235556', + fspName: FinancialServiceProviderName.intersolveVoucherWhatsapp, + whatsappPhoneNumber: '14155235556', +}; + export const registrationsOCW = [ registrationOCW1, registrationOCW2,