summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorraine Welch <lb2391@att.com>2020-02-10 22:14:31 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-10 22:14:31 +0000
commit4a0d5a9fb73d3095d149d6e9d7c5fda0e39ed666 (patch)
treee2bcd5b49fede2ae55ad2859345e770effd31679
parent7cff23bb8cec8115ca430020db937e0fd4c30fa3 (diff)
parent0e0c32f3c48e091d8be9f841af84704561c68c65 (diff)
Merge "errs in layout & erroor-modal components resolved"
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/layout.component.spec.ts7
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.spec.ts2
2 files changed, 6 insertions, 3 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/layout.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/layout.component.spec.ts
index 22f11b8d..13d3e34a 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/layout.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/layout.component.spec.ts
@@ -38,7 +38,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { TranslateModule } from '@ngx-translate/core';
-
+import { HttpClientTestingModule } from '@angular/common/http/testing';
import { LayoutComponent } from './layout.component';
import { LayoutModule } from './layout.module';
@@ -46,10 +46,11 @@ describe('LayoutComponent', () => {
let component: LayoutComponent;
let fixture: ComponentFixture<LayoutComponent>;
- beforeEach(
- async(() => {
+ beforeEach( async(() => {
TestBed.configureTestingModule({
+ providers:[],
imports: [
+ HttpClientTestingModule,
LayoutModule,
RouterTestingModule,
TranslateModule.forRoot(),
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.spec.ts
index 36497beb..0026baee 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.spec.ts
@@ -1,6 +1,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ErrorModalComponent } from './error-modal.component';
+import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
describe('ErrorModalComponent', () => {
let component: ErrorModalComponent;
@@ -8,6 +9,7 @@ describe('ErrorModalComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
+ providers:[NgbActiveModal],
declarations: [ ErrorModalComponent ]
})
.compileComponents();