From ee5dfc0878059a48fdff7ca16b0aa69a652414d5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 2 Mar 2018 11:54:55 +0100 Subject: Subscribe to mailboxes we create in tests --- examples/imapresource/tests/imapmailsynctest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/imapresource/tests') diff --git a/examples/imapresource/tests/imapmailsynctest.cpp b/examples/imapresource/tests/imapmailsynctest.cpp index e40aec8..2d937ce 100644 --- a/examples/imapresource/tests/imapmailsynctest.cpp +++ b/examples/imapresource/tests/imapmailsynctest.cpp @@ -87,6 +87,7 @@ protected: Imap::ImapServerProxy imap("localhost", 143, Imap::NoEncryption); VERIFYEXEC(imap.login("doe", "doe")); VERIFYEXEC(imap.create("INBOX." + folderPath.join('.'))); + VERIFYEXEC(imap.subscribe("INBOX." + folderPath.join('.'))); } void removeFolder(const QStringList &folderPath) Q_DECL_OVERRIDE -- cgit v1.2.3