Fixed the test cases,added sonar config
[portal.git] / portal-FE-common / src / app / modals / information-modal / information-modal.component.spec.ts
index fa3596f..9e9a80b 100644 (file)
@@ -38,6 +38,7 @@
 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
 
 import { InformationModalComponent } from './information-modal.component';
+import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
 
 describe('InformationModalComponent', () => {
   let component: InformationModalComponent;
@@ -45,7 +46,8 @@ describe('InformationModalComponent', () => {
 
   beforeEach(async(() => {
     TestBed.configureTestingModule({
-      declarations: [ InformationModalComponent ]
+      declarations: [ InformationModalComponent ],
+      providers: [NgbActiveModal]
     })
     .compileComponents();
   }));