From 660a2b27b2952002abeeaf62159f20fed0a28b1b Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Fri, 27 Nov 2020 09:15:57 +0300 Subject: [PATCH] test: implement new service to dynamic-layout.component --- .../core/src/lib/tests/dynamic-layout.component.spec.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/npm/ng-packs/packages/core/src/lib/tests/dynamic-layout.component.spec.ts b/npm/ng-packs/packages/core/src/lib/tests/dynamic-layout.component.spec.ts index 01b6c2f863..ba4fd361c2 100644 --- a/npm/ng-packs/packages/core/src/lib/tests/dynamic-layout.component.spec.ts +++ b/npm/ng-packs/packages/core/src/lib/tests/dynamic-layout.component.spec.ts @@ -5,11 +5,8 @@ import { createRoutingFactory, SpectatorRouting } from '@ngneat/spectator/jest'; import { DynamicLayoutComponent, RouterOutletComponent } from '../components'; import { eLayoutType } from '../enums/common'; import { ABP } from '../models'; -import { - ApplicationConfigurationService, - ReplaceableComponentsService, - RoutesService, -} from '../services'; +import { AbpApplicationConfigurationService } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service'; +import { ReplaceableComponentsService, RoutesService } from '../services'; import { mockRoutesService } from './routes.service.spec'; @Component({ @@ -85,7 +82,7 @@ describe('DynamicLayoutComponent', () => { component: RouterOutletComponent, stubsEnabled: false, declarations: [DummyComponent, DynamicLayoutComponent], - mocks: [ApplicationConfigurationService, HttpClient], + mocks: [AbpApplicationConfigurationService, HttpClient], providers: [ { provide: RoutesService,