3/3 теста покрыты фикстурами

This commit is contained in:
Антон
2025-11-23 08:28:36 +03:00
parent b41650fd83
commit 77779d15c5
7 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -50,8 +50,8 @@ public:
}
catch (const system::system_error& err)
{
BOOST_LOG_TRIVIAL(info) << "POST /api/v1/Auth/Login - Response 500: Cannot deserialize json";
throw session_exception(http::status::internal_server_error, "Cannot deserialize json");
BOOST_LOG_TRIVIAL(info) << "POST /api/v1/Auth/Login - Response 400: Cannot deserialize json";
throw session_exception(http::status::bad_request, "Cannot deserialize json");
}