diff options
-rw-r--r-- | examples/imapresource/tests/imapmailsyncbenchmark.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/imapresource/tests/imapmailsyncbenchmark.cpp b/examples/imapresource/tests/imapmailsyncbenchmark.cpp index 814e325..b5c3645 100644 --- a/examples/imapresource/tests/imapmailsyncbenchmark.cpp +++ b/examples/imapresource/tests/imapmailsyncbenchmark.cpp | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "common/domain/applicationdomaintype.h" | 27 | #include "common/domain/applicationdomaintype.h" |
28 | #include "common/store.h" | 28 | #include "common/store.h" |
29 | #include "common/resourcecontrol.h" | 29 | #include "common/resourcecontrol.h" |
30 | #include "common/secretstore.h" | ||
30 | 31 | ||
31 | using namespace Sink; | 32 | using namespace Sink; |
32 | using namespace Sink::ApplicationDomain; | 33 | using namespace Sink::ApplicationDomain; |
@@ -56,9 +57,9 @@ class ImapMailSyncBenchmark : public QObject | |||
56 | { | 57 | { |
57 | auto resource = ApplicationDomain::ImapResource::create("account1"); | 58 | auto resource = ApplicationDomain::ImapResource::create("account1"); |
58 | resource.setProperty("server", "localhost"); | 59 | resource.setProperty("server", "localhost"); |
59 | resource.setProperty("port", 993); | 60 | resource.setProperty("port", 143); |
60 | resource.setProperty("username", "doe"); | 61 | resource.setProperty("username", "doe"); |
61 | resource.setProperty("password", "doe"); | 62 | Sink::SecretStore::instance().insert(resource.identifier(), "doe"); |
62 | return resource; | 63 | return resource; |
63 | } | 64 | } |
64 | 65 | ||