summaryrefslogtreecommitdiffstats
path: root/tests/mailsynctest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mailsynctest.cpp')
-rw-r--r--tests/mailsynctest.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/mailsynctest.cpp b/tests/mailsynctest.cpp
index 31e40c4..96a2daa 100644
--- a/tests/mailsynctest.cpp
+++ b/tests/mailsynctest.cpp
@@ -110,12 +110,8 @@ void MailSyncTest::testListFolders()
110 names.removeAll("Trash"); 110 names.removeAll("Trash");
111 QVERIFY(specialPurposeFolders.contains(SpecialPurpose::Mail::trash)); 111 QVERIFY(specialPurposeFolders.contains(SpecialPurpose::Mail::trash));
112 } 112 }
113 //Silently ignore the inbox folder 113 auto set = QSet<QString>{"INBOX", "test"};
114 if (specialPurposeFolders.contains(SpecialPurpose::Mail::inbox)) { 114 QCOMPARE(names.toSet(), set);
115 names.removeAll("INBOX");
116 }
117 QCOMPARE(names.size(), 1);
118 QVERIFY(names.contains("test"));
119 }); 115 });
120 VERIFYEXEC(job); 116 VERIFYEXEC(job);
121} 117}