enable rest for rest tests
This commit is contained in:
parent
e1059f260e
commit
5bca8e730e
@ -80,6 +80,7 @@ void TestRestDeviceClasses::initTestCase()
|
||||
config.address = QHostAddress("127.0.0.1");
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
config.restServerEnabled = true;
|
||||
NymeaCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
@ -89,6 +89,7 @@ void TestRestDevices::initTestCase()
|
||||
config.address = QHostAddress("127.0.0.1");
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
config.restServerEnabled = true;
|
||||
NymeaCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
@ -72,6 +72,7 @@ void TestRestLogging::initTestCase()
|
||||
config.address = QHostAddress("127.0.0.1");
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
config.restServerEnabled = true;
|
||||
NymeaCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
@ -73,6 +73,7 @@ void TestRestPlugins::initTestCase()
|
||||
config.address = QHostAddress("127.0.0.1");
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
config.restServerEnabled = true;
|
||||
NymeaCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
@ -94,6 +94,7 @@ void TestRestRules::initTestCase()
|
||||
config.address = QHostAddress("127.0.0.1");
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
config.restServerEnabled = true;
|
||||
NymeaCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
@ -68,6 +68,7 @@ void TestRestVendors::initTestCase()
|
||||
config.address = QHostAddress("127.0.0.1");
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
config.restServerEnabled = true;
|
||||
NymeaCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
qApp->processEvents();
|
||||
}
|
||||
|
||||
@ -96,6 +96,7 @@ void TestWebserver::initTestCase()
|
||||
config.address = QHostAddress("127.0.0.1");
|
||||
config.port = 3333;
|
||||
config.sslEnabled = true;
|
||||
config.restServerEnabled = true;
|
||||
NymeaCore::instance()->configuration()->setWebServerConfiguration(config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user