From 33b77ea9c6aadee11e3ba3b7d2683d0b0550f0e4 Mon Sep 17 00:00:00 2001 From: Nandhukumar Date: Thu, 29 Sep 2022 10:00:41 +0530 Subject: [PATCH] change db queries for masterdata --- automationtests/src/main/java/io/mosip/dbaccess/DBManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java b/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java index 9f2dc1ff543..9b7bd262998 100644 --- a/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java +++ b/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java @@ -211,6 +211,7 @@ public void execute(Connection connection) throws SQLException { statement.addBatch("delete from master.template where template_typ_code IN(select code from master.template_type where code='Test-info-Template-auto')"); statement.addBatch( "update master.template set is_active='true', is_deleted='false' where id='1101'"); + statement.addBatch("delete from master.template where template_typ_code IN(select code from master.template_type where code='Test-info-Template-auto')"); statement.addBatch("delete from master.template_type where code='Test-info-Template-auto'"); statement.addBatch( "update master.location set is_active='true', is_deleted='false' where code='10114'");