aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/calendar/CalendarTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/calendar/CalendarTest.java')
-rw-r--r--test/org/traccar/calendar/CalendarTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/calendar/CalendarTest.java b/test/org/traccar/calendar/CalendarTest.java
index 7f5bd7d29..0c8e1830b 100644
--- a/test/org/traccar/calendar/CalendarTest.java
+++ b/test/org/traccar/calendar/CalendarTest.java
@@ -42,7 +42,7 @@ public class CalendarTest {
"END:VEVENT\n" +
"END:VCALENDAR";
Calendar calendar = new Calendar();
- calendar.setCalendarData(calendarString.getBytes());
+ calendar.setData(calendarString.getBytes());
DateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ssX");
Date date = format.parse("2016-12-13 22:59:59+05");