diff --git a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.spec.ts b/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.spec.ts index 788f6e368..92e0ea758 100644 --- a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.spec.ts +++ b/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.spec.ts @@ -77,14 +77,19 @@ describe('CorrespondentListComponent', () => { it('should support very old date strings', () => { jest.spyOn(correspondentsService, 'listFiltered').mockReturnValue( of({ - count: 1, - all: [1], + count: 2, + all: [1, 2], results: [ { id: 1, name: 'Correspondent1', last_correspondence: '1832-12-31T15:32:54-07:52:58', }, + { + id: 2, + name: 'Correspondent2', + last_correspondence: '1901-07-01T00:00:00+00:09:21', + }, ], }) ) diff --git a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts b/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts index 9b2d9f3b9..224b9c8a3 100644 --- a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts +++ b/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts @@ -52,7 +52,7 @@ export class CorrespondentListComponent extends ManagementListComponent