Skip to content
Snippets Groups Projects
Commit eb4f7d55 authored by Tim Donohue's avatar Tim Donohue
Browse files

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

parent c2f13548
Branches
Tags
No related merge requests found
......@@ -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', () => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment