renamed project to dspace-angular and fixed broken tests

This commit is contained in:
lotte
2020-07-14 15:45:33 +02:00
parent e5742c49d9
commit 08484d31ca
6 changed files with 30 additions and 30 deletions

View File

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