summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-10-02 13:32:18 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-10-02 14:09:33 +0200
commitb82a17d8ed996a8f2ff5902fdd229f3b68712c1d (patch)
treed21e3511f9bf7df9ddab474eba7da2bfd4db71c6
parent202c7d893f14e65fbb89e9cf7b37a3502bf923ec (diff)
Prospective fix for more oauth tests failing
... due to term.ie not being a reachable host. Change-Id: I3d7d7d22ffa6a8176c05db73afba187047f9f479 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
-rw-r--r--tests/auto/oauth1/tst_oauth1.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/oauth1/tst_oauth1.cpp b/tests/auto/oauth1/tst_oauth1.cpp
index 10da4f9..c76ba8f 100644
--- a/tests/auto/oauth1/tst_oauth1.cpp
+++ b/tests/auto/oauth1/tst_oauth1.cpp
@@ -739,6 +739,8 @@ void tst_OAuth1::authenticatedCalls_data()
<< QUrl("http://term.ie/oauth/example/echo_api.php?key=%40value+1%2B2=3")
<< parameters
<< QNetworkAccessManager::GetOperation;
+ } else {
+ QSKIP("Skipping test due to unreacahble term.ie host");
}
}
@@ -832,6 +834,8 @@ void tst_OAuth1::prepareRequestCalls_data()
<< QUrl("http://term.ie/oauth/example/echo_api.php?key=%40value+1%2B2=3")
<< parameters
<< QByteArray("GET");
+ } else {
+ QSKIP("Skipping test due to unreacahble term.ie host");
}
}