fix count
This commit is contained in:
parent
b003cc6a68
commit
88706ccbc6
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user