Commit eb197b8f authored by Luca Niccoli's avatar Luca Niccoli Committed by Liang Qi
Browse files

Fix urls in client compliance test


Change-Id: I0dc9427934cc7523b524966d45820f96b6a4642d
Reviewed-by: default avatarLiang Qi <liang.qi@theqtcompany.com>
Showing with 2 additions and 2 deletions
......@@ -105,7 +105,7 @@ void tst_ComplianceTest::runTestCase(int nbr, int total)
qDebug() << "Executing test" << (nbr + 1) << "/" << total;
QUrl url = m_url;
url.setPath(QStringLiteral("/runCase?"));
url.setPath(QStringLiteral("/runCase"));
QUrlQuery query;
query.addQueryItem(QStringLiteral("case"), QString::number(nbr + 1));
query.addQueryItem(QStringLiteral("agent"), QStringLiteral("QtWebSockets/1.0"));
......@@ -142,7 +142,7 @@ void tst_ComplianceTest::autobahnTest()
QObject::disconnect(pWebSocket, &QWebSocket::textMessageReceived, 0, 0);
runTestCases(0, numberOfTestCases);
url.setPath(QStringLiteral("/updateReports?"));
url.setPath(QStringLiteral("/updateReports"));
QUrlQuery query;
query.addQueryItem(QStringLiteral("agent"), QStringLiteral("QtWebSockets"));
url.setQuery(query);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment