diff --git a/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.spec.ts b/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.spec.ts index e648a41523..197725e7ce 100644 --- a/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.spec.ts +++ b/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.spec.ts @@ -32,6 +32,7 @@ import { AppExtensionService } from '@alfresco/aca-shared'; import { of } from 'rxjs'; import { ContentActionType } from '@alfresco/adf-extensions'; import { By } from '@angular/platform-browser'; +import { INITIAL_APP_STATE } from '../../../store/initial-state'; describe('CustomNameColumnComponent', () => { let fixture: ComponentFixture; @@ -40,7 +41,19 @@ describe('CustomNameColumnComponent', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [HttpClientModule, TranslateModule.forRoot(), CustomNameColumnComponent, StoreModule.forRoot({ app: () => {} }, { initialState: {} })], + imports: [ + HttpClientModule, + TranslateModule.forRoot(), + CustomNameColumnComponent, + StoreModule.forRoot( + { app: (state) => state }, + { + initialState: { + app: INITIAL_APP_STATE + } + } + ) + ], providers: [Actions] });