diff options
author | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2014-03-21 11:34:35 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-21 11:39:39 +0100 |
commit | 1d7352b46bc7b6c450aa6a0b63db7aa81af44634 (patch) | |
tree | 0ab7c143c8dc6e35ab99d50b663c8c2b671db855 | |
parent | a1b1904575f92b8a34bd5a957ff485b78258c692 (diff) | |
download | qtenginio-1d7352b46bc7b6c450aa6a0b63db7aa81af44634.tar.gz |
Fix autotest failure
QtNetwork gives a more specific error code, then it used to.
Change-Id: I2ee5527ea3e3eae6a3b8c010a4b2bbb463e8b852
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
-rw-r--r-- | tests/auto/qmltests/tst_enginioreply.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qmltests/tst_enginioreply.qml b/tests/auto/qmltests/tst_enginioreply.qml index 48f1dde..114f102 100644 --- a/tests/auto/qmltests/tst_enginioreply.qml +++ b/tests/auto/qmltests/tst_enginioreply.qml @@ -140,7 +140,7 @@ Item { "area": Enginio.UserOperation, "isError": true, "errorType": EnginioReply.BackendError, - "networkError": QNetworkReply.UnknownContentError, + "networkError": QNetworkReply.ProtocolInvalidOperationError, "backendStatus": 400, "errorString": "{\"errors\": [{\"message\": \"can't be blank\",\"property\": \"password\",\"reason\": \"ValidationFailed\"}]}", }, @@ -160,7 +160,7 @@ Item { "area": Enginio.UserOperation, "isError": true, "errorType": EnginioReply.BackendError, - "networkError": QNetworkReply.UnknownContentError, + "networkError": QNetworkReply.ProtocolInvalidOperationError, "backendStatus": 400, "errorString": "{\"errors\": [{\"message\": \"has already been taken\",\"property\": \"username\",\"reason\": \"ValidationFailed\"}]}", }, |