diff --git a/messagecomposer/autotests/followupreminderselectdatedialogtest.cpp b/messagecomposer/autotests/followupreminderselectdatedialogtest.cpp --- a/messagecomposer/autotests/followupreminderselectdatedialogtest.cpp +++ b/messagecomposer/autotests/followupreminderselectdatedialogtest.cpp @@ -67,7 +67,7 @@ Akonadi::CollectionComboBox *combobox = dlg.findChild(QStringLiteral("collectioncombobox")); QVERIFY(combobox); QDate currentDate = QDate::currentDate(); - QCOMPARE(datecombobox->date(), currentDate); + QCOMPARE(datecombobox->date(), currentDate.addDays(1)); QPushButton *okButton = dlg.findChild(QStringLiteral("ok_button")); QVERIFY(okButton);