Skip to content

Commit

Permalink
fixed shouldSetDateWithNullCalendar
Browse files Browse the repository at this point in the history
  • Loading branch information
alexradzin committed Apr 30, 2024
1 parent 53ab106 commit 0f8ead1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,10 +438,11 @@ void shouldSetDateWithCalendar() throws SQLException, ParseException {
}

@Test
@DefaultTimeZone("Europe/London")
void shouldSetDateWithNullCalendar() throws SQLException, ParseException {
statement = createStatementWithSql("INSERT INTO cars(release_date) VALUES (?)");

statement.setDate(1, new Date(1564527600000L));
statement.setDate(1, new Date(1564527600000L), null);
statement.execute();

verify(fireboltStatementService).execute(queryInfoWrapperArgumentCaptor.capture(), eq(properties), anyBoolean(), any());
Expand Down

0 comments on commit 0f8ead1

Please sign in to comment.