Skip to content

Commit

Permalink
Fixed indeterminate test
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Aug 18, 2022
1 parent a1d14f3 commit 9e3ed46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/net/fortuna/ical4j/model/RecurTest.java
Expand Up @@ -601,9 +601,9 @@ public static TestSuite suite() throws ParseException {
.dayList(new WeekDayList(MO, TU, WE, TH, FR)).build();
log.debug(weekDays.toString());

start = ZonedDateTime.now();
start = ZonedDateTime.of(2022, 8, 18, 11, 3, 0, 0, ZoneId.systemDefault());
end = start.plusDays(10);
suite.addTest(new RecurTest<>(weekDays, start, end, Value.DATE, 8));
suite.addTest(new RecurTest<>(weekDays, start, end, Value.DATE, 7));

// Test BYDAY recurrence rules..
Recur<ZonedDateTime> fifthTuesday = new Recur<>("FREQ=MONTHLY;WKST=SU;INTERVAL=2;BYDAY=5TU");
Expand Down

0 comments on commit 9e3ed46

Please sign in to comment.