summaryrefslogtreecommitdiffstats
path: root/tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp')
-rw-r--r--tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp b/tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp
index eacdc8758..521fb9f90 100644
--- a/tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp
+++ b/tests/auto/organizer/qorganizeritem/tst_qorganizeritem.cpp
@@ -1147,8 +1147,8 @@ void tst_QOrganizerItem::todoOccurrence()
testTodoOccurrence.setStatus(QOrganizerTodoProgress::StatusComplete);
QCOMPARE(testTodoOccurrence.progressPercentage(), 50); // XXX TODO: should this update automatically?
- testTodoOccurrence.setStartDateTime(QDate::currentDate()te::currentDate().addDays(1).startOfDay());
- QCOMPARE(testTodoOccurrence.startDateTime(), QDate::currentDate().startOfDay());
+ testTodoOccurrence.setStartDateTime(QDate::currentDate().addDays(1).startOfDay());
+ QCOMPARE(testTodoOccurrence.startDateTime(), QDate::currentDate().addDays(1).startOfDay());
testTodoOccurrence.setDueDateTime(QDate::currentDate().startOfDay());
QCOMPARE(testTodoOccurrence.dueDateTime(), QDate::currentDate().startOfDay());
testTodoOccurrence.setFinishedDateTime(QDate::currentDate().addDays(1).startOfDay());