summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-02-16 10:18:59 +0530
committerIndrijeet kumar <indriku1@in.ibm.com>2020-02-16 10:19:06 +0530
commit93238af945c2ba85e0dd25226889422ca31cfc50 (patch)
tree68625f937bf8c182cd816d28feac8ab33dff62b6 /ecomp-sdk
parentd5a82489d380dd77549cac66a1d0a42d75699fd0 (diff)
err in confirmation-modal & sql.service resolved
errors in confirmation-modal and sql.service resolved Issue-ID: PORTAL-813 Change-Id: I508f12c6fb80c3f2b9eb8e3841c969e94dadfb04 Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/confirmation-modal/confirmation-modal.component.spec.ts4
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.service.spec.ts6
2 files changed, 8 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/confirmation-modal/confirmation-modal.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/confirmation-modal/confirmation-modal.component.spec.ts
index bc3516e8..138fa15d 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/confirmation-modal/confirmation-modal.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/confirmation-modal/confirmation-modal.component.spec.ts
@@ -38,6 +38,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ConfirmationModalComponent } from './confirmation-modal.component';
+import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
describe('ConfirmationModalComponent', () => {
let component: ConfirmationModalComponent;
@@ -45,7 +46,8 @@ describe('ConfirmationModalComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ ConfirmationModalComponent ]
+ declarations: [ ConfirmationModalComponent ],
+ providers:[NgbActiveModal]
})
.compileComponents();
}));
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.service.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.service.spec.ts
index addec39f..57db6fb6 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.service.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.service.spec.ts
@@ -1,9 +1,13 @@
import { TestBed } from '@angular/core/testing';
import { SqlService } from './sql.service';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('SqlService', () => {
- beforeEach(() => TestBed.configureTestingModule({}));
+ beforeEach(() =>
+ TestBed.configureTestingModule({
+ imports: [HttpClientTestingModule]
+ }));
it('should be created', () => {
const service: SqlService = TestBed.get(SqlService);