1
0

fixed caching issue

This commit is contained in:
lotte
2020-04-09 10:20:42 +02:00
parent e43f04e564
commit 9cfed06784
5 changed files with 16 additions and 2 deletions

View File

@@ -15,6 +15,8 @@ import { WorkflowItem } from '../../core/submission/models/workflowitem.model';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { VarDirective } from '../../shared/utils/var.directive';
import { of as observableOf } from 'rxjs';
import { RequestService } from '../../core/data/request.service';
import { getMockRequestService } from '../../shared/mocks/mock-request.service';
describe('WorkflowItemDeleteComponent', () => {
let component: WorkflowItemDeleteComponent;
@@ -50,6 +52,7 @@ describe('WorkflowItemDeleteComponent', () => {
{ provide: RouteService, useValue: {} },
{ provide: NotificationsService, useClass: NotificationsServiceStub },
{ provide: WorkflowItemDataService, useValue: wfiService },
{ provide: RequestService, useValue: getMockRequestService() },
],
schemas: [NO_ERRORS_SCHEMA]
})