From 7af2d3ac28311917eabd1b7c0ae07fffdf401b2f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 11 Feb 2016 17:02:40 +0100 Subject: Import new mails as well --- tests/maildirresourcetest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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: auto mailModel = Sink::Store::loadModel(query); QTRY_VERIFY(mailModel->data(QModelIndex(), Sink::Store::ChildrenFetchedRole).toBool()); - QCOMPARE(mailModel->rowCount(QModelIndex()), 2); + QCOMPARE(mailModel->rowCount(QModelIndex()), 3); } void testSyncMailRemoval() @@ -228,7 +228,7 @@ private Q_SLOTS: auto mailModel = Sink::Store::loadModel(query); QTRY_VERIFY(mailModel->data(QModelIndex(), Sink::Store::ChildrenFetchedRole).toBool()); - QCOMPARE(mailModel->rowCount(QModelIndex()), 1); + QCOMPARE(mailModel->rowCount(QModelIndex()), 2); } void testCreateFolder() -- cgit v1.2.3