mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Fix code from PR#490 to align with PR#468
This commit is contained in:
@@ -110,7 +110,7 @@ describe('DsoRedirectDataService', () => {
|
|||||||
scheduler.schedule(() => service.findById(dsoUUID, IdentifierType.UUID));
|
scheduler.schedule(() => service.findById(dsoUUID, IdentifierType.UUID));
|
||||||
scheduler.flush();
|
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', () => {
|
it('should configure the proper FindByIDRequest for handle', () => {
|
||||||
@@ -118,7 +118,7 @@ describe('DsoRedirectDataService', () => {
|
|||||||
scheduler.schedule(() => service.findById(dsoHandle, IdentifierType.HANDLE));
|
scheduler.schedule(() => service.findById(dsoHandle, IdentifierType.HANDLE));
|
||||||
scheduler.flush();
|
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', () => {
|
it('should navigate to item route', () => {
|
||||||
|
Reference in New Issue
Block a user