Fixed the test cases,added sonar config
[portal.git] / portal-FE-common / src / app / shared / services / functional-menu / functional-menu.service.spec.ts
index 1280c08..2908867 100644 (file)
 import { TestBed } from '@angular/core/testing';
 
 import { FunctionalMenuService } from './functional-menu.service';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+
 
 describe('FunctionalMenuService', () => {
-  beforeEach(() => TestBed.configureTestingModule({}));
+  beforeEach(() => TestBed.configureTestingModule({
+    imports:[HttpClientTestingModule]}
+    ));
 
   it('should be created', () => {
     const service: FunctionalMenuService = TestBed.get(FunctionalMenuService);