Commit 55b85bf6 authored by Inge Wallin's avatar Inge Wallin

Fix tests that failed due to commit 3992bc5921f7f62b1fa65d180c253d0c807f5e6d

It was the tests that were wrong, they depended on a faulty behaviour.
parent 727b0f03
......@@ -70,6 +70,9 @@ void TestLoadingBase::initTestCase()
bool hasDocDirInSrcDir = srcdir.cd("doc");
QVERIFY(hasDocDirInSrcDir);
// Go back up, we only used the cd as a test.
if (hasDocDirInSrcDir)
srcdir.cd("..");
KoStore *store = KoStore::createStore(srcdir.absolutePath(), KoStore::Read);
QVERIFY(store->enterDirectory("doc"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment