diff --git a/tests/auto/testjsonrpc.cpp b/tests/auto/testjsonrpc.cpp index 47993c5e..cb790f33 100644 --- a/tests/auto/testjsonrpc.cpp +++ b/tests/auto/testjsonrpc.cpp @@ -94,11 +94,12 @@ private: void TestJSONRPC::initTestcase() { + QCoreApplication::instance()->setOrganizationName("guh-test"); + // If testcase asserts cleanup won't do. Lets clear any previous test run settings leftovers QSettings settings; settings.clear(); - QCoreApplication::instance()->setOrganizationName("guh-test"); m_commandId = 0; GuhCore::instance();