mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Fixes unit test and problem in map fuction.
This commit is contained in:
@@ -59,6 +59,8 @@ describe('SubmissionRestService test suite', () => {
|
||||
describe('getDataById', () => {
|
||||
it('should configure a new SubmissionRequest', () => {
|
||||
const expected = new SubmissionRequest(requestService.generateRequestId(), resourceHref);
|
||||
// set cache time to zero
|
||||
expected.responseMsToLive = 0;
|
||||
scheduler.schedule(() => service.getDataById(resourceEndpoint, resourceScope).subscribe());
|
||||
scheduler.flush();
|
||||
|
||||
|
Reference in New Issue
Block a user