From b6d6cfd786096fe18c4afce28d8e73464dbadeea Mon Sep 17 00:00:00 2001 From: Indrijeet kumar Date: Mon, 10 Feb 2020 13:46:39 +0530 Subject: errors in form-fields and log.service resolved errors in form-fields and log.service resolved Issue-ID: PORTAL-813 Change-Id: I2b972d61ad844d5f658b69105980a001d9a19683 Signed-off-by: Indrijeet Kumar --- .../Report_List/Report/form-fields/form-fields.service.spec.ts | 6 +++++- .../app/pages/analytics/Report_List/Report/log/log.service.spec.ts | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/form-fields/form-fields.service.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/form-fields/form-fields.service.spec.ts index b56fc029..0452c246 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/form-fields/form-fields.service.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/form-fields/form-fields.service.spec.ts @@ -1,9 +1,13 @@ import { TestBed } from '@angular/core/testing'; import { FormFieldsService } from './form-fields.service'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('FormFieldsService', () => { - beforeEach(() => TestBed.configureTestingModule({})); + beforeEach(() => + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + })); it('should be created', () => { const service: FormFieldsService = TestBed.get(FormFieldsService); diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.service.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.service.spec.ts index caf56e96..d7b3b648 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.service.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.service.spec.ts @@ -1,9 +1,13 @@ import { TestBed } from '@angular/core/testing'; import { LogService } from './log.service'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('LogService', () => { - beforeEach(() => TestBed.configureTestingModule({})); + beforeEach(() => + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + })); it('should be created', () => { const service: LogService = TestBed.get(LogService); -- cgit 1.2.3-korg