X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fshared%2Fplugin%2Fplugin.component.spec.ts;h=59802bab885a58d4dd078fb04d5658dd804a83e1;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=cc5810c1185cedbca4e926cfa434ee231d7e65fa;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts b/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts index cc5810c1..59802bab 100644 --- a/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts +++ b/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts @@ -39,14 +39,18 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { PluginComponent } from './plugin.component'; +import { ClientPluginLoaderService } from './plugin-loader/client-plugin-loader.service'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('PluginComponent', () => { let component: PluginComponent; let fixture: ComponentFixture; - + let clientPluginLoaderService: ClientPluginLoaderService; beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ PluginComponent ] + declarations: [ PluginComponent ], + providers:[ClientPluginLoaderService], + imports: [HttpClientTestingModule] }) .compileComponents(); }));