diff options
Diffstat (limited to 'tests/maildirresourcetest.cpp')
-rw-r--r-- | tests/maildirresourcetest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index c415a54..b16f883 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp | |||
@@ -55,7 +55,7 @@ private Q_SLOTS: | |||
55 | void initTestCase() | 55 | void initTestCase() |
56 | { | 56 | { |
57 | QVERIFY(tempDir.isValid()); | 57 | QVERIFY(tempDir.isValid()); |
58 | auto targetPath = tempDir.path() + QDir::separator() + "maildir1/"; | 58 | auto targetPath = tempDir.path() + "/maildir1/"; |
59 | copyRecursively(TESTDATAPATH "/maildir1", targetPath); | 59 | copyRecursively(TESTDATAPATH "/maildir1", targetPath); |
60 | 60 | ||
61 | Akonadi2::Log::setDebugOutputLevel(Akonadi2::Log::Trace); | 61 | Akonadi2::Log::setDebugOutputLevel(Akonadi2::Log::Trace); |
@@ -181,7 +181,7 @@ private Q_SLOTS: | |||
181 | //Ensure all local data is processed | 181 | //Ensure all local data is processed |
182 | Akonadi2::Store::synchronize(query).exec().waitForFinished(); | 182 | Akonadi2::Store::synchronize(query).exec().waitForFinished(); |
183 | 183 | ||
184 | auto targetPath = tempDir.path() + QDir::separator() + "maildir1/"; | 184 | auto targetPath = tempDir.path() + "/maildir1/"; |
185 | QDir dir(targetPath); | 185 | QDir dir(targetPath); |
186 | QVERIFY(dir.rename("inbox", "newbox")); | 186 | QVERIFY(dir.rename("inbox", "newbox")); |
187 | 187 | ||