Fix code from PR#490 to align with PR#468

This commit is contained in:
Tim Donohue
2019-11-14 13:34:17 -06:00
parent c2f13548ed
commit eb4f7d557c

View File

@@ -110,7 +110,7 @@ describe('DsoRedirectDataService', () => {
scheduler.schedule(() => service.findById(dsoUUID, IdentifierType.UUID));
scheduler.flush();
expect(requestService.configure).toHaveBeenCalledWith(new FindByIDRequest(requestUUID, requestUUIDURL, dsoUUID), false);
expect(requestService.configure).toHaveBeenCalledWith(new FindByIDRequest(requestUUID, requestUUIDURL, dsoUUID));
});
it('should configure the proper FindByIDRequest for handle', () => {
@@ -118,7 +118,7 @@ describe('DsoRedirectDataService', () => {
scheduler.schedule(() => service.findById(dsoHandle, IdentifierType.HANDLE));
scheduler.flush();
expect(requestService.configure).toHaveBeenCalledWith(new FindByIDRequest(requestUUID, requestHandleURL, dsoHandle), false);
expect(requestService.configure).toHaveBeenCalledWith(new FindByIDRequest(requestUUID, requestHandleURL, dsoHandle));
});
it('should navigate to item route', () => {