summaryrefslogtreecommitdiff
path: root/test/storage/http_header_parsing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/storage/http_header_parsing.cpp')
-rw-r--r--test/storage/http_header_parsing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/storage/http_header_parsing.cpp b/test/storage/http_header_parsing.cpp
index 521fa239e6..d98b09924f 100644
--- a/test/storage/http_header_parsing.cpp
+++ b/test/storage/http_header_parsing.cpp
@@ -12,7 +12,7 @@ TEST_F(Storage, HTTPExpiresParsing) {
using namespace mbgl;
util::RunLoop loop;
- OnlineFileSource fs(nullptr);
+ OnlineFileSource fs;
std::unique_ptr<FileRequest> req1 = fs.request({ Resource::Unknown,
"http://127.0.0.1:3000/test?modified=1420794326&expires=1420797926&etag=foo" },
@@ -37,7 +37,7 @@ TEST_F(Storage, HTTPCacheControlParsing) {
using namespace mbgl;
util::RunLoop loop;
- OnlineFileSource fs(nullptr);
+ OnlineFileSource fs;
std::unique_ptr<FileRequest> req2 = fs.request({ Resource::Unknown, "http://127.0.0.1:3000/test?cachecontrol=max-age=120" },
[&](Response res) {