diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/maildirresourcetest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index 620ff04..c415a54 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp | |||
@@ -153,7 +153,7 @@ private Q_SLOTS: | |||
153 | { | 153 | { |
154 | Akonadi2::Query query; | 154 | Akonadi2::Query query; |
155 | query.resources << "org.kde.maildir.instance1"; | 155 | query.resources << "org.kde.maildir.instance1"; |
156 | query.requestedProperties << "folder" << "subject" << "mimeMessage"; | 156 | query.requestedProperties << "folder" << "subject" << "mimeMessage" << "date"; |
157 | query.syncOnDemand = true; | 157 | query.syncOnDemand = true; |
158 | query.processAll = true; | 158 | query.processAll = true; |
159 | 159 | ||
@@ -166,6 +166,7 @@ private Q_SLOTS: | |||
166 | auto mail = mailModel->index(0, 0, QModelIndex()).data(Akonadi2::Store::DomainObjectRole).value<Akonadi2::ApplicationDomain::Mail::Ptr>(); | 166 | auto mail = mailModel->index(0, 0, QModelIndex()).data(Akonadi2::Store::DomainObjectRole).value<Akonadi2::ApplicationDomain::Mail::Ptr>(); |
167 | QVERIFY(!mail->getProperty("subject").toString().isEmpty()); | 167 | QVERIFY(!mail->getProperty("subject").toString().isEmpty()); |
168 | QVERIFY(!mail->getProperty("mimeMessage").toString().isEmpty()); | 168 | QVERIFY(!mail->getProperty("mimeMessage").toString().isEmpty()); |
169 | QVERIFY(mail->getProperty("date").toDateTime().isValid()); | ||
169 | } | 170 | } |
170 | 171 | ||
171 | 172 | ||