[Libreoffice-commits] online.git: loolwsd/test

Jan Holesovsky kendy at collabora.com
Wed May 4 11:58:28 UTC 2016


 loolwsd/test/TileCacheTests.cpp |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 68ed15628d833de1a1db7b040986e57941f7e895
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed May 4 13:56:39 2016 +0200

    Another place that hardcodes the URI.

diff --git a/loolwsd/test/TileCacheTests.cpp b/loolwsd/test/TileCacheTests.cpp
index 71887f5..81b9872 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();


More information about the Libreoffice-commits mailing list