From 61e7200cf68ab333b2df41189e26973b3324dc12 Mon Sep 17 00:00:00 2001 From: Indrijeet kumar Date: Mon, 27 Apr 2020 02:45:27 +0530 Subject: 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 --- .../sql-validate-success-dialog.component.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp') 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(); + }) }); -- cgit 1.2.3-korg