generated from Sithas/conan_template
3/3 теста покрыты фикстурами
This commit is contained in:
@@ -43,8 +43,8 @@ public:
|
||||
}
|
||||
catch (const system::system_error& err)
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(error) << "POST /api/v1/Auth/Logout - Response 500: Cannot deserialize json";
|
||||
throw session_exception(http::status::internal_server_error, "cannot deserialize json"s);
|
||||
BOOST_LOG_TRIVIAL(error) << "POST /api/v1/Auth/Logout - Response 400: Cannot deserialize json";
|
||||
throw session_exception(http::status::bad_request, "cannot deserialize json"s);
|
||||
}
|
||||
|
||||
const std::string token = req_json.as_object().at("token").as_string().c_str();
|
||||
|
||||
Reference in New Issue
Block a user