Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 7f2618b7 authored by Volker Krause's avatar Volker Krause

Explicitly specify the timezone

Should make these tests pass on the CI.
parent 379da658
......@@ -63,6 +63,11 @@ using TestableEventDataIdVisitor = TestableVisitor<EventDataIdVisitor>;
using DateTimeRange = QPair<QDateTime, QDateTime>;
void EventDataVisitorTest::initTestCase()
setenv("TZ", "Europe/Berlin", 1);
void EventDataVisitorTest::testGenerateUID_data()
......@@ -31,6 +31,8 @@ class EventDataVisitorTest : public QObject
private Q_SLOTS:
void initTestCase();
void testGenerateUID_data();
void testGenerateUID();
......@@ -31,6 +31,7 @@ Q_DECLARE_METATYPE(CalendarEvents::EventData)
void PimEventsPluginTest::initTestCase()
setenv("TZ", "Europe/Berlin", 1);
qRegisterMetaType<DateEventDataHash>("QMultiHash<QDate, CalendarEvents::EventData>");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment