diff options
author | Indrijeet kumar <indriku1@in.ibm.com> | 2020-04-27 02:45:27 +0530 |
---|---|---|
committer | Indrijeet kumar <indriku1@in.ibm.com> | 2020-04-27 02:45:35 +0530 |
commit | 61e7200cf68ab333b2df41189e26973b3324dc12 (patch) | |
tree | 6453f29255902811af66ecd8e13b8008f5290118 /ecomp-sdk | |
parent | 8c193243356e909d0210036006aa9416c6455d00 (diff) |
test cases in sql-validate-success-dialog comp
test cases in sql-validate-success-dialog component
Issue-ID: PORTAL-813
Change-Id: I1c6de6c677cc768fb38d52513947445bc81f22d4
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-success-dialog/sql-validate-success-dialog.component.spec.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-success-dialog/sql-validate-success-dialog.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-success-dialog/sql-validate-success-dialog.component.spec.ts index 9f98ff18..92803321 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-success-dialog/sql-validate-success-dialog.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-success-dialog/sql-validate-success-dialog.component.spec.ts @@ -22,4 +22,9 @@ describe('ValidateSuccessComponentComponent', () => { it('should create', () => { expect(component).toBeTruthy(); }); + + it('should test ngOnChanges method',()=>{ + component.tableObj='{"reportDataColumns":"tableObj","reportDataRows":"reportDataRows"}'; + component.ngOnChanges(); + }) }); |