summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-03-04 11:38:02 +0530
committerIndrijeet kumar <indriku1@in.ibm.com>2020-03-04 11:38:09 +0530
commit28a7a70ea42a7601859a830ea3f01ada5c9156a2 (patch)
treeff9ac87f916b34a3081c6ce4467ba0c73528b17b /ecomp-sdk
parentd1cb62e4628dcc6a445b48de9f618e50e25475f4 (diff)
err resolved in sql-validate-error-dialog comp
error resolved in sql-validate-error-dialog component Issue-ID: PORTAL-813 Change-Id: I23466469faddba521b680d9cb9804d497ad24dd6 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/pages/analytics/Report_List/Report/sql/sql-validate-error-dialog/sql-validate-error-dialog.component.spec.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-error-dialog/sql-validate-error-dialog.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-error-dialog/sql-validate-error-dialog.component.spec.ts
index 979b40f2..bf5f7f24 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-error-dialog/sql-validate-error-dialog.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-error-dialog/sql-validate-error-dialog.component.spec.ts
@@ -2,9 +2,10 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SQLValidateErrorDialogComponent } from './sql-validate-error-dialog.component';
-describe('ValidateErrorComponentComponent', () => {
+describe('ValidateErrorComponent', () => {
let component: SQLValidateErrorDialogComponent;
let fixture: ComponentFixture<SQLValidateErrorDialogComponent>;
+ let tableobj: any=JSON.stringify({"errormessage":"DummyError","stacktrace":"trace"})
beforeEach(async(() => {
TestBed.configureTestingModule({
@@ -16,6 +17,7 @@ describe('ValidateErrorComponentComponent', () => {
beforeEach(() => {
fixture = TestBed.createComponent(SQLValidateErrorDialogComponent);
component = fixture.componentInstance;
+ component.tableObj=tableobj;
fixture.detectChanges();
});