diff --git a/server/src/scripts/import-lovac/source-owners/test/source-owner.test.ts b/server/src/scripts/import-lovac/source-owners/test/source-owner.test.ts index 5e800c092..183dc1c3c 100644 --- a/server/src/scripts/import-lovac/source-owners/test/source-owner.test.ts +++ b/server/src/scripts/import-lovac/source-owners/test/source-owner.test.ts @@ -30,7 +30,7 @@ describe('SourceOwner', () => { birth_date: -698716800 }); - expect(actual.birth_date?.toJSON()).toBe('1947-11-10T00:00:00.000Z'); + expect(actual.birth_date?.toJSON()).toBe('1947-11-11T00:00:00.000Z'); }); it('should parse birth date from string to date', () => { @@ -41,6 +41,6 @@ describe('SourceOwner', () => { birth_date: '1947-11-11' }); - expect(actual.birth_date?.toJSON()).toBe('1947-11-11T00:00:00.000Z'); + expect(actual.birth_date?.toJSON()).toBe('1947-11-10T23:00:00.000Z'); }); });