X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fpages%2Frole%2Frole-functions%2Frole-function-modal%2Frole-function-modal.component.spec.ts;h=1ea732469fe69ddc15756838bcc195067191677b;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=2c5ef631504cc231bb9362bc393cf8201ac2af07;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-common/src/app/pages/role/role-functions/role-function-modal/role-function-modal.component.spec.ts b/portal-FE-common/src/app/pages/role/role-functions/role-function-modal/role-function-modal.component.spec.ts index 2c5ef631..1ea73246 100644 --- a/portal-FE-common/src/app/pages/role/role-functions/role-function-modal/role-function-modal.component.spec.ts +++ b/portal-FE-common/src/app/pages/role/role-functions/role-function-modal/role-function-modal.component.spec.ts @@ -38,6 +38,10 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RoleFunctionModalComponent } from './role-function-modal.component'; +import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; +import { FormsModule } from '@angular/forms'; +import { NgMaterialModule } from 'src/app/ng-material-module'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('RoleFunctionModalComponent', () => { let component: RoleFunctionModalComponent; @@ -45,7 +49,9 @@ describe('RoleFunctionModalComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ RoleFunctionModalComponent ] + declarations: [ RoleFunctionModalComponent ], + imports:[FormsModule,NgMaterialModule,HttpClientTestingModule], + providers:[NgbActiveModal] }) .compileComponents(); }));