summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/tests/imapmailsynctest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-02 11:54:55 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-02 11:54:55 +0100
commitee5dfc0878059a48fdff7ca16b0aa69a652414d5 (patch)
treeac57d2df7aa1344462be2638269875672b7250f0 /examples/imapresource/tests/imapmailsynctest.cpp
parentcd3f995fe28d4b8e61137692672ebd3436f651f0 (diff)
downloadsink-ee5dfc0878059a48fdff7ca16b0aa69a652414d5.tar.gz
sink-ee5dfc0878059a48fdff7ca16b0aa69a652414d5.zip
Subscribe to mailboxes we create in tests
Diffstat (limited to 'examples/imapresource/tests/imapmailsynctest.cpp')
-rw-r--r--examples/imapresource/tests/imapmailsynctest.cpp1
1 files changed, 1 insertions, 0 deletions
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:
87 Imap::ImapServerProxy imap("localhost", 143, Imap::NoEncryption); 87 Imap::ImapServerProxy imap("localhost", 143, Imap::NoEncryption);
88 VERIFYEXEC(imap.login("doe", "doe")); 88 VERIFYEXEC(imap.login("doe", "doe"));
89 VERIFYEXEC(imap.create("INBOX." + folderPath.join('.'))); 89 VERIFYEXEC(imap.create("INBOX." + folderPath.join('.')));
90 VERIFYEXEC(imap.subscribe("INBOX." + folderPath.join('.')));
90 } 91 }
91 92
92 void removeFolder(const QStringList &folderPath) Q_DECL_OVERRIDE 93 void removeFolder(const QStringList &folderPath) Q_DECL_OVERRIDE