diff options
author | Indrijeet kumar <indriku1@in.ibm.com> | 2020-02-10 17:20:56 +0530 |
---|---|---|
committer | Indrijeet kumar <indriku1@in.ibm.com> | 2020-02-10 17:21:04 +0530 |
commit | 57d7a80112d0640524f5c6da7fba0990a220966d (patch) | |
tree | dacccd9aadcc6d2f18a6b0d1e16858caa6251b6e /ecomp-sdk/epsdk-app-overlay | |
parent | b6d6cfd786096fe18c4afce28d8e73464dbadeea (diff) |
err in definition & report-list services resolved
errors in definition & report-list services resolved
Issue-ID: PORTAL-813
Change-Id: I8953b579b99cec75224db04477b30d0cbd5a36ad
Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay')
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/definition/definition.service.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.service.spec.ts index 10fd5830..1c56d381 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.service.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.service.spec.ts @@ -1,9 +1,13 @@ import { TestBed } from '@angular/core/testing'; import { DefinitionService } from './definition.service'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('DefinitionServiceService', () => { - beforeEach(() => TestBed.configureTestingModule({})); + beforeEach(() => + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + })); it('should be created', () => { const service: DefinitionService = TestBed.get(DefinitionService); diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.service.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.service.spec.ts index 7945cc73..03804c27 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.service.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.service.spec.ts @@ -1,9 +1,13 @@ import { TestBed } from '@angular/core/testing'; import { ReportListService } from './report-list.service'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('ReportListService', () => { - beforeEach(() => TestBed.configureTestingModule({})); + beforeEach(() => + TestBed.configureTestingModule({ + imports: [HttpClientTestingModule] + })); it('should be created', () => { const service: ReportListService = TestBed.get(ReportListService); |