diff options
Diffstat (limited to 'tests/maildirresourcetest.cpp')
-rw-r--r-- | tests/maildirresourcetest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index 28a1d44..eefe1e9 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp | |||
@@ -205,7 +205,7 @@ private Q_SLOTS: | |||
205 | 205 | ||
206 | auto mailModel = Sink::Store::loadModel<Sink::ApplicationDomain::Mail>(query); | 206 | auto mailModel = Sink::Store::loadModel<Sink::ApplicationDomain::Mail>(query); |
207 | QTRY_VERIFY(mailModel->data(QModelIndex(), Sink::Store::ChildrenFetchedRole).toBool()); | 207 | QTRY_VERIFY(mailModel->data(QModelIndex(), Sink::Store::ChildrenFetchedRole).toBool()); |
208 | QCOMPARE(mailModel->rowCount(QModelIndex()), 2); | 208 | QCOMPARE(mailModel->rowCount(QModelIndex()), 3); |
209 | } | 209 | } |
210 | 210 | ||
211 | void testSyncMailRemoval() | 211 | void testSyncMailRemoval() |
@@ -228,7 +228,7 @@ private Q_SLOTS: | |||
228 | 228 | ||
229 | auto mailModel = Sink::Store::loadModel<Sink::ApplicationDomain::Mail>(query); | 229 | auto mailModel = Sink::Store::loadModel<Sink::ApplicationDomain::Mail>(query); |
230 | QTRY_VERIFY(mailModel->data(QModelIndex(), Sink::Store::ChildrenFetchedRole).toBool()); | 230 | QTRY_VERIFY(mailModel->data(QModelIndex(), Sink::Store::ChildrenFetchedRole).toBool()); |
231 | QCOMPARE(mailModel->rowCount(QModelIndex()), 1); | 231 | QCOMPARE(mailModel->rowCount(QModelIndex()), 2); |
232 | } | 232 | } |
233 | 233 | ||
234 | void testCreateFolder() | 234 | void testCreateFolder() |