From 14c88aad96788e718617323c8055f6a35065b726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= Date: Sun, 26 Oct 2025 08:27:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B3=D0=BE=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0=20=D0=B8=D0=BD=D1=82=D0=B5=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=BE=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D1=82=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/endpoint_handlers/AuthLoginExecutor_TEST.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/endpoint_handlers/AuthLoginExecutor_TEST.cpp b/tests/endpoint_handlers/AuthLoginExecutor_TEST.cpp index cd94142..e0b94fd 100644 --- a/tests/endpoint_handlers/AuthLoginExecutor_TEST.cpp +++ b/tests/endpoint_handlers/AuthLoginExecutor_TEST.cpp @@ -158,6 +158,10 @@ BOOST_AUTO_TEST_CASE(AuthRegistrationExecutor_Succesful_Login) BOOST_CHECK(response.result() == http::status::ok); + auto response_body = parse(response.body()); + + BOOST_CHECK(response_body.as_object().count("token"s) == 1); + mysql_session->close(); delete mysql_session; }