Skip to content

Commit b90f336

Browse files
committed
[DSC-2812] test fix
(cherry picked from commit 5ed265b)
1 parent 58921a7 commit b90f336

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/app/submission/submission.service.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ describe('SubmissionService test suite', () => {
415415

416416
const searchService = getMockSearchService();
417417

418-
const requestServce = getMockRequestService();
418+
const requestService = getMockRequestService();
419419

420420
beforeEach(waitForAsync(() => {
421421

@@ -434,7 +434,7 @@ describe('SubmissionService test suite', () => {
434434
{ provide: SubmissionRestService, useValue: restService },
435435
{ provide: ActivatedRoute, useValue: new MockActivatedRoute() },
436436
{ provide: SearchService, useValue: searchService },
437-
{ provide: RequestService, useValue: requestServce },
437+
{ provide: RequestService, useValue: requestService },
438438
{ provide: SubmissionJsonPatchOperationsService, useValue: submissionJsonPatchOperationsService },
439439
{ provide: NativeWindowService, useValue: new NativeWindowRef() },
440440
ScrollToService,
@@ -1024,6 +1024,7 @@ describe('SubmissionService test suite', () => {
10241024
it('should redirect to Item page', () => {
10251025
scheduler = getTestScheduler();
10261026

1027+
(requestService.setStaleByHrefSubstring as jasmine.Spy).calls.reset();
10271028
const itemUuid = 'd62fc60f-e9a5-48e6-973a-90819acf23ae';
10281029
let itemSubmissionId = itemUuid + ':FULL';
10291030

0 commit comments

Comments
 (0)