test/UnitWOPISaveAs.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d3bf2638ead1d66ca3a6a78b20528bd68242a4e0
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Thu Oct 26 12:17:05 2017 +0200

    SaveAs: Fix unit test when used without ssl.
    
    Change-Id: Ic48908c9e7449fc13458d9211fa743310834bd6b

diff --git a/test/UnitWOPISaveAs.cpp b/test/UnitWOPISaveAs.cpp
index a0c5c3df..d981c551 100644
--- a/test/UnitWOPISaveAs.cpp
+++ b/test/UnitWOPISaveAs.cpp
@@ -40,7 +40,7 @@ public:
     bool filterSendMessage(const char* data, const size_t len, const WSOpCode 
/* code */, const bool /* flush */, int& /*unitReturn*/) override
     {
         std::string message(data, len);
-        if (message == "saveas: 
url=https://127.0.0.1:9980/something%20wopi/files/1?access_token=anything 
filename=hello%20world.txt")
+        if (message == "saveas: url=" + helpers::getTestServerURI() + 
"/something%20wopi/files/1?access_token=anything filename=hello%20world.txt")
         {
             // successfully exit the test if we also got the outgoing message
             // notifying about saving the file
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to