Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Jul 8, 2019
1 parent 9ae3efc commit ec0883b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/test/java/net/fortuna/ical4j/model/RecurTest.java
Expand Up @@ -755,9 +755,7 @@ public static TestSuite suite() throws ParseException {
recur = new Recur(rrule);

cal = Calendar.getInstance();
cal.clear(Calendar.SECOND);
cal.clear(Calendar.MINUTE);
cal.clear(Calendar.HOUR);
cal.set(2019, 02, 14, 0, 0, 0);
start = new DateTime(cal.getTime());
cal.add(Calendar.DAY_OF_YEAR, 1);
end = new DateTime(cal.getTime());
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/samples/valid/dst-only-vtimezone.ics
@@ -1,5 +1,6 @@
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Ben Fortuna//iCal4j 1.0//EN
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
Expand Down

0 comments on commit ec0883b

Please sign in to comment.