[Libreoffice-commits] online.git: test/integration-http-server.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 30 13:50:36 UTC 2018


 test/integration-http-server.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 25a177db93158ebde9a6b4bf42c4791d284489d6
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Fri Nov 30 14:49:58 2018 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Fri Nov 30 14:50:15 2018 +0100

    typo: capabilties -> capabilities
    
    Change-Id: I44c84d01a2ef6addf7efd5a6cd7fc1778a752c4b

diff --git a/test/integration-http-server.cpp b/test/integration-http-server.cpp
index 500a9ffdf..08e755eaf 100644
--- a/test/integration-http-server.cpp
+++ b/test/integration-http-server.cpp
@@ -136,7 +136,7 @@ void HTTPServerTest::testCapabilities()
     std::unique_ptr<Poco::Net::HTTPClientSession> session(helpers::createSession(_uri));
 
     // Get discovery first and extract the urlsrc of the capabilities end point
-    std::string capabiltiesURI;
+    std::string capabilitiesURI;
     {
 
         Poco::Net::HTTPRequest request(Poco::Net::HTTPRequest::HTTP_GET, "/hosting/discovery");
@@ -161,13 +161,13 @@ void HTTPServerTest::testCapabilities()
             if(parent && parent->getAttribute("name") == "Capabilities")
             {
                 foundCapabilities = true;
-                capabiltiesURI = elem->getAttribute("urlsrc");
+                capabilitiesURI = elem->getAttribute("urlsrc");
                 break;
             }
         }
 
         CPPUNIT_ASSERT(foundCapabilities);
-        CPPUNIT_ASSERT_EQUAL(_uri.toString() + CAPABILITIES_END_POINT, capabiltiesURI);
+        CPPUNIT_ASSERT_EQUAL(_uri.toString() + CAPABILITIES_END_POINT, capabilitiesURI);
     }
 
     // Then get the capabilities json


More information about the Libreoffice-commits mailing list