diff options
Diffstat (limited to 'tests/maildirresourcetest.cpp')
-rw-r--r-- | tests/maildirresourcetest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index 968abde..17d297d 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp | |||
@@ -71,9 +71,7 @@ private slots: | |||
71 | { | 71 | { |
72 | targetPath = tempDir.path() + "/maildir1/"; | 72 | targetPath = tempDir.path() + "/maildir1/"; |
73 | 73 | ||
74 | //FIXME initTest only works for the current process, | 74 | Sink::Test::initTest(); |
75 | //we also have to start resources in test-mode | ||
76 | // Sink::Test::initTest(); | ||
77 | Sink::Log::setDebugOutputLevel(Sink::Log::Trace); | 75 | Sink::Log::setDebugOutputLevel(Sink::Log::Trace); |
78 | MaildirResource::removeFromDisk("org.kde.maildir.instance1"); | 76 | MaildirResource::removeFromDisk("org.kde.maildir.instance1"); |
79 | Sink::ApplicationDomain::SinkResource resource; | 77 | Sink::ApplicationDomain::SinkResource resource; |