diff --git a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.spec.ts b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.spec.ts index 44652c1e29c..0fa6e99291f 100644 --- a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.spec.ts +++ b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.spec.ts @@ -16,10 +16,11 @@ */ import { TestBed, ComponentFixture } from '@angular/core/testing'; -import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { MatDialogRef, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; import { ConfirmDialogComponent } from './confirm.dialog'; import { By } from '@angular/platform-browser'; -import { CoreTestingModule } from '@alfresco/adf-cor'; +import { NoopAnimationsModule } from '@angular/platform-browser/animations'; +import { TranslateModule } from '@ngx-translate/core'; describe('Confirm Dialog Component', () => { let fixture: ComponentFixture; @@ -38,7 +39,7 @@ describe('Confirm Dialog Component', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [CoreTestingModule], + imports: [MatDialogModule, NoopAnimationsModule, TranslateModule.forRoot()], providers: [ { provide: MatDialogRef, useValue: dialogRef }, { provide: MAT_DIALOG_DATA, useValue: data }