mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-2204] Upgrade to ADF 3.0.0 release (#949)
* upgrade to ADF 3.0.0 * update unit tests
This commit is contained in:
@@ -28,7 +28,7 @@ import { Overlay } from '@angular/cdk/overlay';
|
||||
import { Injector } from '@angular/core';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { of } from 'rxjs';
|
||||
import { AppConfigService } from '@alfresco/adf-core';
|
||||
import { CoreModule } from '@alfresco/adf-core';
|
||||
import { ContextMenuService } from './context-menu.service';
|
||||
import { ContextMenuModule } from './context-menu.module';
|
||||
|
||||
@@ -42,12 +42,8 @@ describe('ContextMenuService', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [ContextMenuModule],
|
||||
providers: [
|
||||
Overlay,
|
||||
{ provide: Store, useValue: { select: () => of() } },
|
||||
{ provide: AppConfigService, useValue: {} }
|
||||
]
|
||||
imports: [CoreModule.forRoot(), ContextMenuModule],
|
||||
providers: [Overlay, { provide: Store, useValue: { select: () => of() } }]
|
||||
});
|
||||
|
||||
const injector = TestBed.get(Injector);
|
||||
|
Reference in New Issue
Block a user