diff options
author | Lorraine Welch <lb2391@att.com> | 2020-02-10 22:04:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-10 22:04:16 +0000 |
commit | a5e5f9502e02182516db526402a4e0e303634437 (patch) | |
tree | 40da02a1ee60d2ce3cfe523bf74535ef98e89c91 | |
parent | 1a646f5cd31ffcb6b88596edc0cf788024ecd097 (diff) | |
parent | b6d6cfd786096fe18c4afce28d8e73464dbadeea (diff) |
Merge "errors in form-fields and log.service 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/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); |