stabilize REST tests
This commit is contained in:
parent
87af2e1843
commit
006debf567
@ -81,6 +81,7 @@ void TestRestDeviceClasses::initTestCase()
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
void TestRestDeviceClasses::getSupportedDevices()
|
||||
|
||||
@ -90,6 +90,7 @@ void TestRestDevices::initTestCase()
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
void TestRestDevices::getConfiguredDevices()
|
||||
|
||||
@ -74,6 +74,7 @@ void TestRestLogging::initTestCase()
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
void TestRestLogging::initLogs()
|
||||
|
||||
@ -74,6 +74,7 @@ void TestRestPlugins::initTestCase()
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
void TestRestPlugins::getPlugins()
|
||||
|
||||
@ -95,6 +95,7 @@ void TestRestRules::initTestCase()
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
void TestRestRules::cleanupMockHistory()
|
||||
|
||||
@ -69,6 +69,7 @@ void TestRestVendors::initTestCase()
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
void TestRestVendors::getVendors()
|
||||
|
||||
Reference in New Issue
Block a user