fix count

This commit is contained in:
Simon Stürz 2016-03-05 00:32:18 +01:00 committed by Michael Zanetti
parent b003cc6a68
commit 88706ccbc6

View File

@ -204,7 +204,7 @@ void TestWebserver::checkAllowedMethodCall()
clientSpy.wait();
QCOMPARE(clientSpy.count() > 0, "expected response");
QVERIFY2(clientSpy.count() > 0, "expected response");
if (expectedStatusCode == 405){
QCOMPARE(reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(), expectedStatusCode);