typo: capabilties -> capabilities
Change-Id: I44c84d01a2ef6addf7efd5a6cd7fc1778a752c4b
This commit is contained in:
parent
a41864e8a5
commit
25a177db93
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue