summaryrefslogtreecommitdiffstats
path: root/examples/mailtransportresource/tests/mailtransporttest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mailtransportresource/tests/mailtransporttest.cpp')
-rw-r--r--examples/mailtransportresource/tests/mailtransporttest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mailtransportresource/tests/mailtransporttest.cpp b/examples/mailtransportresource/tests/mailtransporttest.cpp
index 2a831ed..8669024 100644
--- a/examples/mailtransportresource/tests/mailtransporttest.cpp
+++ b/examples/mailtransportresource/tests/mailtransporttest.cpp
@@ -8,6 +8,7 @@
8#include "common/resourcecontrol.h" 8#include "common/resourcecontrol.h"
9#include "common/domain/applicationdomaintype.h" 9#include "common/domain/applicationdomaintype.h"
10#include "common/log.h" 10#include "common/log.h"
11#include "common/secretstore.h"
11 12
12using namespace Sink; 13using namespace Sink;
13using namespace Sink::ApplicationDomain; 14using namespace Sink::ApplicationDomain;
@@ -22,7 +23,7 @@ class MailtransportTest : public QObject
22 resource.setProperty("server", "localhost"); 23 resource.setProperty("server", "localhost");
23 // resource.setProperty("port", 993); 24 // resource.setProperty("port", 993);
24 resource.setProperty("user", "doe"); 25 resource.setProperty("user", "doe");
25 resource.setProperty("password", "doe"); 26 Sink::SecretStore::instance().insert(resource.identifier(), "doe");
26 resource.setProperty("testmode", true); 27 resource.setProperty("testmode", true);
27 return resource; 28 return resource;
28 } 29 }