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'");