diff --git a/src/app/core/data/request.service.spec.ts b/src/app/core/data/request.service.spec.ts index d1a1f66e41a..61091c79404 100644 --- a/src/app/core/data/request.service.spec.ts +++ b/src/app/core/data/request.service.spec.ts @@ -661,7 +661,9 @@ describe('RequestService', () => { spyOn(service, 'getByHref').and.returnValue(observableOf(staleRE)); spyOn(store, 'dispatch'); service.setStaleByHref(href).subscribe(() => { - expect(store.dispatch).toHaveBeenCalledWith(new RequestStaleAction(uuid)); + const requestStaleAction = new RequestStaleAction(uuid); + requestStaleAction.lastUpdated = jasmine.any(Number) as any; + expect(store.dispatch).toHaveBeenCalledWith(requestStaleAction); done(); }); });