summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-06 16:13:25 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-17 11:42:47 -0800
commitb29bce0936ac711b7fa6c2a43684696021dfb668 (patch)
tree8515a6923421df3ef7c5b2dd660c9d11f1016b65 /test
parentfe0baffe0dfbf369f422e175c0fcf3dda9055118 (diff)
downloadqtlocation-mapboxgl-b29bce0936ac711b7fa6c2a43684696021dfb668.tar.gz
add ca bundle loading back to CURL
Diffstat (limited to 'test')
-rw-r--r--test/storage/http_error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/http_error.cpp b/test/storage/http_error.cpp
index 45c23b94b6..498f1eae6b 100644
--- a/test/storage/http_error.cpp
+++ b/test/storage/http_error.cpp
@@ -44,7 +44,7 @@ TEST_F(Storage, HTTPError) {
EXPECT_LT(1.5, duration) << "Resource wasn't retried the correct number of times";
EXPECT_GT(1.7, duration) << "Resource wasn't retried the correct number of times";
EXPECT_EQ(Response::Error, res.status);
- EXPECT_TRUE(res.message == "Couldn't connect to server" || res.message == "The operation couldn’t be completed. (NSURLErrorDomain error -1004.)");
+ EXPECT_TRUE(res.message == "Couldn't connect to server: couldn't connect to host" || res.message == "The operation couldn’t be completed. (NSURLErrorDomain error -1004.)") << res.message;
EXPECT_EQ("", res.data);
EXPECT_EQ(0, res.expires);
EXPECT_EQ(0, res.modified);