summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src
diff options
context:
space:
mode:
authorLorraine Welch <lb2391@att.com>2020-03-04 14:55:42 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-04 14:55:42 +0000
commitbf80005a521b13708b88c6c4e69041e4365956a2 (patch)
tree2dd52f614d76ae6e368bfc2dbe906d2155a37fed /ecomp-sdk/epsdk-app-overlay/src
parentfb9f9eb9a6b63ced273d1148fac03f2a10a68c6e (diff)
parenta7cb653826d1ef9c6a06d3d5818744aee964ea25 (diff)
Merge "errors resolved in roles and usage components"
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.spec.ts10
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/usage/usage.component.spec.ts9
2 files changed, 17 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.spec.ts
index 2a4b5c33..8af2689a 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/roles/roles.component.spec.ts
@@ -4,6 +4,9 @@
* ===================================================================
* Copyright © 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================
+ *
+ * Modification Copyright © 2020 IBM.
+ * ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
* under the Apache License, Version 2.0 (the "License");
@@ -39,6 +42,9 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RolesComponent } from './roles.component';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { MatTableModule } from '@angular/material';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('RolesComponent', () => {
let component: RolesComponent;
@@ -46,7 +52,9 @@ describe('RolesComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ RolesComponent ]
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
+ declarations: [ RolesComponent ],
+ imports:[MatTableModule,HttpClientTestingModule]
})
.compileComponents();
}));
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/usage/usage.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/usage/usage.component.spec.ts
index d6812789..01f31669 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/usage/usage.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/usage/usage.component.spec.ts
@@ -4,6 +4,9 @@
* ===================================================================
* Copyright © 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================
+ *
+ * Modification Copyright © 2020 IBM.
+ * ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
* under the Apache License, Version 2.0 (the "License");
@@ -39,6 +42,8 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { UsageComponent } from './usage.component';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('UsageComponent', () => {
let component: UsageComponent;
@@ -46,7 +51,9 @@ describe('UsageComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ UsageComponent ]
+ declarations: [ UsageComponent ],
+ schemas:[CUSTOM_ELEMENTS_SCHEMA],
+ imports:[HttpClientTestingModule]
})
.compileComponents();
}));