Fix remaining ambiguous Get() calls in test_proxy.cc and test.cc

This commit is contained in:
copilot-swe-agent[bot]
2026-07-04 23:56:36 +00:00
committed by GitHub
parent 654761fe43
commit c9f8168913
2 changed files with 5 additions and 4 deletions

View File

@@ -169,8 +169,9 @@ template <typename T> void BaseAuthTestFromHTTPWatch(T &cli) {
}
{
auto res = cli.Get("/basic-auth/hello/world",
{make_basic_authentication_header("hello", "world")});
auto res =
cli.Get("/basic-auth/hello/world",
Headers{make_basic_authentication_header("hello", "world")});
ASSERT_TRUE(res != nullptr);
EXPECT_EQ(normalizeJson("{\"authenticated\":true,\"user\":\"hello\"}\n"),
normalizeJson(res->body));