diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/teststore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/teststore.cpp b/tests/teststore.cpp index 3a60676d..73e34101 100644 --- a/tests/teststore.cpp +++ b/tests/teststore.cpp | |||
@@ -160,6 +160,10 @@ static void createEvent(const QVariantMap &object, const QByteArray &calendarId | |||
160 | calcoreEvent->setDtStart(startTime); | 160 | calcoreEvent->setDtStart(startTime); |
161 | calcoreEvent->setDtEnd(endTime); | 161 | calcoreEvent->setDtEnd(endTime); |
162 | 162 | ||
163 | if (object.contains("allDay")) { | ||
164 | calcoreEvent->setAllDay(object["allDay"].toBool()); | ||
165 | } | ||
166 | |||
163 | auto ical = KCalCore::ICalFormat().toICalString(calcoreEvent); | 167 | auto ical = KCalCore::ICalFormat().toICalString(calcoreEvent); |
164 | sinkEvent.setIcal(ical.toUtf8()); | 168 | sinkEvent.setIcal(ical.toUtf8()); |
165 | 169 | ||