Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
Fix time zone problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldloesing committed Nov 29, 2022
1 parent f2b2f54 commit 93d8788
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RapidTestMapperTest {
@BeforeEach
void setUpSourceObjects() {
LocalDateTime yesterday = LocalDateTime.now().minusDays(1);
ZonedDateTime tomorrow = ZonedDateTime.of(2023, 12, 31, 23, 59, 59, 999999, ZoneId.systemDefault());
ZonedDateTime tomorrow = ZonedDateTime.of(2023, 12, 31, 23, 59, 59, 999999, ZoneId.of("Europe/Zurich"));
rapidTest = RapidTest.builder()
.id(UUID.randomUUID())
.code(RAPID_TEST_CODE_ONE)
Expand Down

0 comments on commit 93d8788

Please sign in to comment.