diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-20 10:52:30 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-20 10:52:30 +0200 |
commit | 160f3153cffb110f5b52e244485ccbc2c15b002c (patch) | |
tree | 5159a2f7dc3ee04d34998d383357eddeb76da0ea /examples/imapresource/tests/imapmailtest.cpp | |
parent | cb21b7d053ab35f61e8316853f57ec1ce121e484 (diff) | |
download | sink-160f3153cffb110f5b52e244485ccbc2c15b002c.tar.gz sink-160f3153cffb110f5b52e244485ccbc2c15b002c.zip |
Fixed tests with secretstore
Diffstat (limited to 'examples/imapresource/tests/imapmailtest.cpp')
-rw-r--r-- | examples/imapresource/tests/imapmailtest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/imapresource/tests/imapmailtest.cpp b/examples/imapresource/tests/imapmailtest.cpp index e6f41f4..60ec1bf 100644 --- a/examples/imapresource/tests/imapmailtest.cpp +++ b/examples/imapresource/tests/imapmailtest.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | #include "common/test.h" | 6 | #include "common/test.h" |
7 | #include "common/domain/applicationdomaintype.h" | 7 | #include "common/domain/applicationdomaintype.h" |
8 | #include "common/secretstore.h" | ||
8 | 9 | ||
9 | using namespace Sink; | 10 | using namespace Sink; |
10 | using namespace Sink::ApplicationDomain; | 11 | using namespace Sink::ApplicationDomain; |
@@ -37,7 +38,7 @@ protected: | |||
37 | resource.setProperty("server", "localhost"); | 38 | resource.setProperty("server", "localhost"); |
38 | resource.setProperty("port", 993); | 39 | resource.setProperty("port", 993); |
39 | resource.setProperty("username", "doe"); | 40 | resource.setProperty("username", "doe"); |
40 | resource.setProperty("password", "doe"); | 41 | Sink::SecretStore::instance().insert(resource.identifier(), "doe"); |
41 | return resource; | 42 | return resource; |
42 | } | 43 | } |
43 | }; | 44 | }; |