#include "async_resp.hpp" #include "log_services.hpp" #include #include #include namespace redfish { namespace { TEST(LogServicesDumpServiceTest, LogServicesInvalidDumpServiceGetReturnsError) { auto shareAsyncResp = std::make_shared(); getDumpServiceInfo(shareAsyncResp, "Invalid"); EXPECT_EQ(shareAsyncResp->res.result(), boost::beast::http::status::internal_server_error); } } // namespace } // namespace redfish