diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/imapresource/tests/imapmailsynctest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/imapresource/tests/imapmailsynctest.cpp b/examples/imapresource/tests/imapmailsynctest.cpp index f20a77e..23bb4e5 100644 --- a/examples/imapresource/tests/imapmailsynctest.cpp +++ b/examples/imapresource/tests/imapmailsynctest.cpp | |||
@@ -95,8 +95,8 @@ protected: | |||
95 | QByteArray createMessage(const QStringList &folderPath, const QByteArray &message) Q_DECL_OVERRIDE | 95 | QByteArray createMessage(const QStringList &folderPath, const QByteArray &message) Q_DECL_OVERRIDE |
96 | { | 96 | { |
97 | Imap::ImapServerProxy imap("localhost", 993); | 97 | Imap::ImapServerProxy imap("localhost", 993); |
98 | imap.login("doe", "doe").exec().waitForFinished(); | 98 | VERIFYEXEC_RET(imap.login("doe", "doe"), {}); |
99 | imap.append("INBOX." + folderPath.join('.'), message).exec().waitForFinished(); | 99 | VERIFYEXEC_RET(imap.append("INBOX." + folderPath.join('.'), message), {}); |
100 | return "2:*"; | 100 | return "2:*"; |
101 | } | 101 | } |
102 | 102 | ||