mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 06:23:03 +00:00
87968: Upgrade ng-bootstrap to v11
Some tests involving NgbModal now fail if setup with mock Injector without `get` method
This commit is contained in:
@@ -86,7 +86,7 @@ describe('WorkspaceitemActionsComponent', () => {
|
||||
],
|
||||
declarations: [WorkspaceitemActionsComponent],
|
||||
providers: [
|
||||
{ provide: Injector, useValue: {} },
|
||||
Injector,
|
||||
{ provide: NotificationsService, useValue: new NotificationsServiceStub() },
|
||||
{ provide: Router, useValue: new RouterStub() },
|
||||
{ provide: WorkspaceitemDataService, useValue: mockDataService },
|
||||
|
Reference in New Issue
Block a user