mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
Changed to use TestBed.inject method instead of deprecated TestBed.get
This commit is contained in:
@@ -100,7 +100,7 @@ describe('WorkspaceitemActionsComponent', () => {
|
||||
fixture = TestBed.createComponent(WorkspaceitemActionsComponent);
|
||||
component = fixture.componentInstance;
|
||||
component.object = mockObject;
|
||||
notificationsServiceStub = TestBed.get(NotificationsService);
|
||||
notificationsServiceStub = TestBed.inject(NotificationsService as any);
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user