test/UnitWOPISaveAs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 34c67b14d8692ea785112706bc13e709077c2cc0 Author: Jan Holesovsky <[email protected]> Date: Thu Oct 26 12:17:05 2017 +0200 SaveAs: Fix unit test when used without ssl. Change-Id: Ic48908c9e7449fc13458d9211fa743310834bd6b Reviewed-on: https://gerrit.libreoffice.org/43882 Reviewed-by: Tor Lillqvist <[email protected]> Tested-by: Tor Lillqvist <[email protected]> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
