fixed test issue

This commit is contained in:
lotte
2020-06-30 19:06:46 +02:00
parent a8b7035aff
commit 5b46ec1570

View File

@@ -59,7 +59,7 @@ describe('ProcessFormComponent', () => {
providers: [
{ provide: ScriptDataService, useValue: scriptService },
{ provide: NotificationsService, useClass: NotificationsServiceStub },
{ provide: RequestService, useValue: {} },
{ provide: RequestService, useValue: jasmine.createSpyObj('requestService', ['removeBySubstring']) },
{ provide: Router, useValue: {} },
],
schemas: [NO_ERRORS_SCHEMA]