Skip to content

Commit

Permalink
avniproject#94 | changed method and variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
vedfordev committed Apr 12, 2024
1 parent 64a6cf7 commit f212e7f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Map<String, Object>> list = jdbcTemplate.queryForList("select * from orgc.users where is_voided = true and id = 3453 ; ");
Expand Down

0 comments on commit f212e7f

Please sign in to comment.