diff options
author | Lorraine Welch <lb2391@att.com> | 2020-03-04 14:54:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-04 14:54:30 +0000 |
commit | aa65fd880564ece2fd6aba763a2ae39d8882b40f (patch) | |
tree | cbc35995731aa3dc061c7203cc2e296b73d98b62 /ecomp-sdk | |
parent | 923d8b7954276a3f3270ef9d8173828c8e4b9d9b (diff) | |
parent | 28a7a70ea42a7601859a830ea3f01ada5c9156a2 (diff) |
Merge "err resolved in sql-validate-error-dialog comp"
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.ts | 4 |
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(); }); |