Commit 7963c248 authored by Volker Krause's avatar Volker Krause

Make this test independent of local settings.

parent 5d914a6f
......@@ -29,10 +29,17 @@
#include <KCalCore/Attendee>
#include <QTest>
#include <QStandardPaths>
QTEST_MAIN(FreeBusyGanttProxyModelTest)
using namespace IncidenceEditorNG;
void FreeBusyGanttProxyModelTest::initTestCase()
{
qputenv("TZ", "UTC");
QStandardPaths::setTestModeEnabled(true);
}
void FreeBusyGanttProxyModelTest::testModelValidity()
{
CalendarSupport::FreeBusyItemModel *fbModel = new CalendarSupport::FreeBusyItemModel();
......
......@@ -26,6 +26,7 @@ class FreeBusyGanttProxyModelTest: public QObject
{
Q_OBJECT
private Q_SLOTS:
void initTestCase();
void testModelValidity();
};
......
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