aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2016-12-21 13:23:15 -0500
committerLee Clagett <code@leeclagett.com>2016-12-21 13:23:15 -0500
commit522ab79e9cb3e559fdabf8a93e1567de1d956fae (patch)
treeff32f381475e4eb46752022099d2f10dbb50a11d /tests/unit_tests
parentMerge pull request #1483 (diff)
downloadmonero-522ab79e9cb3e559fdabf8a93e1567de1d956fae.tar.xz
Fixed HTTP auth tests for gcc 4.9
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/http_auth.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit_tests/http_auth.cpp b/tests/unit_tests/http_auth.cpp
index e37ded34a..7158850b6 100644
--- a/tests/unit_tests/http_auth.cpp
+++ b/tests/unit_tests/http_auth.cpp
@@ -241,7 +241,7 @@ TEST(HTTP_Auth, MD5)
epee::net_utils::http::http_auth::login user{"foo", "bar"};
epee::net_utils::http::http_auth auth{user};
- const auto response = auth.get_response(make_request({}));
+ const auto response = auth.get_response(make_request(fields{}));
ASSERT_TRUE(bool(response));
EXPECT_TRUE(is_unauthorized(*response));
@@ -290,7 +290,7 @@ TEST(HTTP_Auth, MD5_sess)
epee::net_utils::http::http_auth::login user{"foo", "bar"};
epee::net_utils::http::http_auth auth{user};
- const auto response = auth.get_response(make_request({}));
+ const auto response = auth.get_response(make_request(fields{}));
ASSERT_TRUE(bool(response));
EXPECT_TRUE(is_unauthorized(*response));
@@ -342,7 +342,7 @@ TEST(HTTP_Auth, MD5_auth)
epee::net_utils::http::http_auth::login user{"foo", "bar"};
epee::net_utils::http::http_auth auth{user};
- const auto response = auth.get_response(make_request({}));
+ const auto response = auth.get_response(make_request(fields{}));
ASSERT_TRUE(bool(response));
EXPECT_TRUE(is_unauthorized(*response));
@@ -410,7 +410,7 @@ TEST(HTTP_Auth, MD5_sess_auth)
epee::net_utils::http::http_auth::login user{"foo", "bar"};
epee::net_utils::http::http_auth auth{user};
- const auto response = auth.get_response(make_request({}));
+ const auto response = auth.get_response(make_request(fields{}));
ASSERT_TRUE(bool(response));
EXPECT_TRUE(is_unauthorized(*response));