fix cleanup of settings for tests
This commit is contained in:
parent
d4053297c8
commit
b5d77460c0
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user