mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
Changed to use TestBed.inject method instead of deprecated TestBed.get
This commit is contained in:
@@ -30,7 +30,7 @@ describe('NavbarComponent', () => {
|
||||
RouterTestingModule],
|
||||
declarations: [NavbarComponent],
|
||||
providers: [
|
||||
{ provide: Injector, useValue: {} },
|
||||
Injector,
|
||||
{ provide: MenuService, useValue: menuService },
|
||||
{ provide: HostWindowService, useValue: new HostWindowServiceStub(800) },
|
||||
{ provide: ActivatedRoute, useValue: {} }
|
||||
|
Reference in New Issue
Block a user