From 50069f3c28b4130a9a81c25746d2c9d97c0356f5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 22 Dec 2015 10:48:13 +0100 Subject: Expect what we can rely on --- tests/maildirresourcetest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index a4856ce..620ff04 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp @@ -94,7 +94,7 @@ private Q_SLOTS: auto model = Akonadi2::Store::loadModel(query); QTRY_VERIFY(model->data(QModelIndex(), Akonadi2::Store::ChildrenFetchedRole).toBool()); - QVERIFY(model->rowCount(QModelIndex()) > 1); + QCOMPARE(model->rowCount(QModelIndex()), 2); } void testListFolderTree() -- cgit v1.2.3