diff options
author | Lorraine Welch <lb2391@att.com> | 2020-02-10 22:06:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-10 22:06:06 +0000 |
commit | 6e27d3be6fce548230a215f8e930f90a63805afb (patch) | |
tree | 9ceb016df839e382954d8f05af94b1eef9351a20 | |
parent | a5e5f9502e02182516db526402a4e0e303634437 (diff) | |
parent | 57d7a80112d0640524f5c6da7fba0990a220966d (diff) |
Merge "err in definition & report-list services resolved"
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); |