Skip to content

Commit

Permalink
Improve unit test for TimeRangeActivationStrategy concerning TimeZones
Browse files Browse the repository at this point in the history
Co-authored-by: Thimo Tollmien <[email protected]>
Co-authored-by: Yannik Rudolph <[email protected]>
  • Loading branch information
YannikRudolph0108 and ThimoTollmien1002 committed Nov 8, 2023
1 parent 23c9d2b commit ee8990a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void shouldNotBeActiveOnInvalidExpression() {
@Test
public void shouldBeInactiveWhenTimeZonesDoNotMatch() {
// given
final LocalDateTime now = LocalDateTime.now(ZoneId.of("Europe/Paris"));
final LocalDateTime now = LocalDateTime.now(ZoneId.of("UTC-3"));
final String from = format.format(now.minusHours(1));
final String to = format.format(now.plusHours(1));

Expand Down

0 comments on commit ee8990a

Please sign in to comment.