Remove HTTP 1XX status test from tst_qrestaccessmanager

1XX statuses are not final statuses, and testing 'error' on it is not
necessarily very meaningful. Furthermore the internal handling of
these statuses changes in Qt 6.8.

Fixes: QTBUG-108068
Change-Id: I9c18c579cd310266273eccd2aee2e032f60538e0
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit cdfeca26cf313b84f6a9b1380e039f214357c52f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Juha Vuolle 2024-02-06 07:55:32 +02:00 committed by Qt Cherry-pick Bot
parent e9b187a836
commit 02abe2152f

View File

@ -476,7 +476,6 @@ void tst_QRestAccessManager::errors()
});
// Test few HTTP statuses in different categories
VERIFY_HTTP_ERROR_STATUS(103) // QNetworkReply::NoError
VERIFY_HTTP_ERROR_STATUS(301) // QNetworkReply::ProtocolUnknownError
VERIFY_HTTP_ERROR_STATUS(302) // QNetworkReply::ProtocolUnknownError
VERIFY_HTTP_ERROR_STATUS(400) // QNetworkReply::ProtocolInvalidOperationError