From f212e7fd88598b807279ec86ebddc247559755da Mon Sep 17 00:00:00 2001 From: vedfordev Date: Fri, 12 Apr 2024 16:58:08 +0530 Subject: [PATCH] #94 | changed method and variable name --- .../java/org/avniproject/etl/DataSyncIntegrationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/avniproject/etl/DataSyncIntegrationTest.java b/src/test/java/org/avniproject/etl/DataSyncIntegrationTest.java index 6c23430..19d2a8b 100644 --- a/src/test/java/org/avniproject/etl/DataSyncIntegrationTest.java +++ b/src/test/java/org/avniproject/etl/DataSyncIntegrationTest.java @@ -355,10 +355,10 @@ public void userTableShouldUpdateWithOldUserData() throws InterruptedException { @Test @Sql({"/test-data-teardown.sql", "/test-data.sql"}) @Sql(scripts = "/test-data-teardown.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) - public void userTableShouldUpdateWithOldUserDataandIsVoided() throws InterruptedException { + public void userTableShouldUpdateWithIsVoided() throws InterruptedException { runDataSync(); - String updateLastModifiedDateTimeSql = "update public.users set last_modified_date_time = now(),is_voided = true where id = 3453;"; - jdbcTemplate.execute(updateLastModifiedDateTimeSql); + String updateIsVoided = "update public.users set last_modified_date_time = now(),is_voided = true where id = 3453;"; + jdbcTemplate.execute(updateIsVoided); runDataSync(); List> list = jdbcTemplate.queryForList("select * from orgc.users where is_voided = true and id = 3453 ; ");