diff --git a/test/test.cc b/test/test.cc index 7151a42..4b66ace 100644 --- a/test/test.cc +++ b/test/test.cc @@ -523,10 +523,12 @@ TEST(BaseAuthTest, FromHTTPWatch) { } { - cli.set_basic_auth("bad", "world"); - auto res = cli.Get("/basic-auth/hello/world"); - ASSERT_TRUE(res != nullptr); - EXPECT_EQ(401, res->status); + // NOTE: Until httpbin.org fixes issue #46, the following test is commented out. + // Plese see https://httpbin.org/digest-auth/auth/hello/world + // cli.set_basic_auth("bad", "world"); + // auto res = cli.Get("/basic-auth/hello/world"); + // ASSERT_TRUE(res != nullptr); + // EXPECT_EQ(401, res->status); } } @@ -2088,7 +2090,10 @@ TEST_F(ServerTest, KeepAlive) { Get(requests, "/hi"); Get(requests, "/not-exist"); Post(requests, "/empty", "", "text/plain"); - Post(requests, "/empty", 0, [&](size_t offset, size_t length, httplib::DataSink &sink){}, "text/plain"); + Post( + requests, "/empty", 0, + [&](size_t offset, size_t length, httplib::DataSink &sink) {}, + "text/plain"); std::vector responses; auto ret = cli_.send(requests, responses);