diff --git a/loolwsd/test/TileCacheTests.cpp b/loolwsd/test/TileCacheTests.cpp index 71887f52d..81b987260 100644 --- a/loolwsd/test/TileCacheTests.cpp +++ b/loolwsd/test/TileCacheTests.cpp @@ -88,11 +88,7 @@ class TileCacheTests : public CPPUNIT_NS::TestFixture public: TileCacheTests() -#if ENABLE_SSL - : _uri("https://127.0.0.1:" + std::to_string(DEFAULT_CLIENT_PORT_NUMBER)) -#else - : _uri("http://127.0.0.1:" + std::to_string(DEFAULT_CLIENT_PORT_NUMBER)) -#endif + : _uri(helpers::getTestServerURI()) { #if ENABLE_SSL Poco::Net::initializeSSL();