diff --git a/apps/system-e2e/src/tests/islandis/application-system/acceptance/mocks/parentalLeave.mock.ts b/apps/system-e2e/src/tests/islandis/application-system/acceptance/mocks/parentalLeave.mock.ts index 8b122fee172a..0190192a4648 100644 --- a/apps/system-e2e/src/tests/islandis/application-system/acceptance/mocks/parentalLeave.mock.ts +++ b/apps/system-e2e/src/tests/islandis/application-system/acceptance/mocks/parentalLeave.mock.ts @@ -23,7 +23,7 @@ export const loadParentalLeaveXroadMocks = async () => { fulltNafn: 'Gervimaður Afríka', kynkodi: '1', bannmerking: false, - faedingardagur: new Date('1930-01-01T00:00:00'), + faedingardagur: '1930-01-01T00:00:00', logheimili: { heiti: 'Engihjalli 3', postnumer: '200', @@ -52,7 +52,7 @@ export const loadParentalLeaveXroadMocks = async () => { fulltNafn: 'Stubbur Maack', kynkodi: '3', bannmerking: false, - faedingardagur: new Date('2011-11-11T00:00:00'), + faedingardagur: '2011-11-11T00:00:00', logheimili: { heiti: 'Engihjalli 3', postnumer: '200', @@ -81,7 +81,7 @@ export const loadParentalLeaveXroadMocks = async () => { fulltNafn: 'Gervimaður útlönd', kynkodi: '1', bannmerking: false, - faedingardagur: new Date('1930-01-01T00:00:00'), + faedingardagur: '1930-01-01T00:00:00', logheimili: { heiti: 'Engihjalli 3', postnumer: '200',