diff options
Diffstat (limited to 'examples/imapresource/tests/imapmailtest.cpp')
-rw-r--r-- | examples/imapresource/tests/imapmailtest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/imapresource/tests/imapmailtest.cpp b/examples/imapresource/tests/imapmailtest.cpp index 60ec1bf..6616811 100644 --- a/examples/imapresource/tests/imapmailtest.cpp +++ b/examples/imapresource/tests/imapmailtest.cpp | |||
@@ -23,7 +23,7 @@ protected: | |||
23 | bool isBackendAvailable() Q_DECL_OVERRIDE | 23 | bool isBackendAvailable() Q_DECL_OVERRIDE |
24 | { | 24 | { |
25 | QTcpSocket socket; | 25 | QTcpSocket socket; |
26 | socket.connectToHost("localhost", 993); | 26 | socket.connectToHost("localhost", 143); |
27 | return socket.waitForConnected(200); | 27 | return socket.waitForConnected(200); |
28 | } | 28 | } |
29 | 29 | ||
@@ -36,7 +36,7 @@ protected: | |||
36 | { | 36 | { |
37 | auto resource = ApplicationDomain::ImapResource::create("account1"); | 37 | auto resource = ApplicationDomain::ImapResource::create("account1"); |
38 | resource.setProperty("server", "localhost"); | 38 | resource.setProperty("server", "localhost"); |
39 | resource.setProperty("port", 993); | 39 | resource.setProperty("port", 143); |
40 | resource.setProperty("username", "doe"); | 40 | resource.setProperty("username", "doe"); |
41 | Sink::SecretStore::instance().insert(resource.identifier(), "doe"); | 41 | Sink::SecretStore::instance().insert(resource.identifier(), "doe"); |
42 | return resource; | 42 | return resource; |