summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay')
-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();
});