summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-02-10 13:46:39 +0530
committerIndrijeet kumar <indriku1@in.ibm.com>2020-02-10 14:18:00 +0530
commitb6d6cfd786096fe18c4afce28d8e73464dbadeea (patch)
tree6f6c93d7eefdc1d851a7a85b8bb9774a954da716
parent703ebb2d5a683a5237d4f15d0569e653d887f387 (diff)
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 <indriku1@in.ibm.com>
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/form-fields/form-fields.service.spec.ts6
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.service.spec.ts6
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);