Fixed the test cases,added sonar config
[portal.git] / portal-FE-common / src / app / layout / components / footer / footer.component.spec.ts
index b834022..6e80fce 100644 (file)
@@ -36,6 +36,8 @@
  * 
  */
 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import {HttpClientTestingModule} from '@angular/common/http/testing';
+
 
 import { FooterComponent } from './footer.component';
 
@@ -45,7 +47,8 @@ describe('FooterComponent', () => {
 
   beforeEach(async(() => {
     TestBed.configureTestingModule({
-      declarations: [ FooterComponent ]
+      declarations: [ FooterComponent],
+      imports: [HttpClientTestingModule]
     })
     .compileComponents();
   }));