From c229b095ededc4465e05d94230e5ab9a2a7061a9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 4 May 2019 22:50:07 +0100 Subject: Update test URLs with protocol change --- libadhocutil/unittests/testCurl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libadhocutil/unittests/testCurl.cpp b/libadhocutil/unittests/testCurl.cpp index 04d5ed9..6435224 100644 --- a/libadhocutil/unittests/testCurl.cpp +++ b/libadhocutil/unittests/testCurl.cpp @@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE( fetch_missing ) BOOST_AUTO_TEST_CASE( fetch_http_stream ) { - CurlStreamSource css("http://sys.randomdan.homeip.net/env.cgi"); + CurlStreamSource css("https://sys.randomdan.homeip.net/env.cgi"); css.appendHeader("X-POWERED-BY: mature-cheddar"); CurlStream curlstrm(css); std::string tok; @@ -142,7 +142,7 @@ BOOST_AUTO_TEST_CASE( fetch_multi_fail ) CurlMultiHandle cmh; bool errored = false; bool finished = false; - cmh.addCurl("http://sys.randomdan.homeip.net/missing", [&finished, &errored](std::istream & s) { + cmh.addCurl("https://sys.randomdan.homeip.net/missing", [&finished, &errored](std::istream & s) { std::string tok; while (!s.eof()) { if (!s.good()) { -- cgit v1.2.3