From c24e09c23990bd58a855f3ffd3eb345764e155f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= Date: Sat, 25 Oct 2025 07:43:09 +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/AuthRegistrationExecutor_TEST.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/endpoint_handlers/AuthRegistrationExecutor_TEST.cpp b/tests/endpoint_handlers/AuthRegistrationExecutor_TEST.cpp index 68cc44c..f8f62cf 100644 --- a/tests/endpoint_handlers/AuthRegistrationExecutor_TEST.cpp +++ b/tests/endpoint_handlers/AuthRegistrationExecutor_TEST.cpp @@ -14,6 +14,8 @@ #include "./../../src/exceptions/session_exception.h" #include "./../../src/helpers/helpers.h" +const std::string kUUID = std::to_string(uad::Random()); + using namespace std; using namespace uad; using namespace boost; @@ -102,7 +104,7 @@ BOOST_AUTO_TEST_CASE(AuthRegistrationExecutor_Succesfull_User_Login) req_body.emplace_object(); - req_body.as_object().emplace("login"s, "MyLogin123456780"); + req_body.as_object().emplace("login"s, "MyLogin123456780"s + kUUID); req_body.as_object().emplace("password"s, "Qwerty123456"s); req.body() = serialize(req_body); @@ -133,7 +135,7 @@ BOOST_AUTO_TEST_CASE(AuthRegistrationExecutor_Unsuccesfull_User_Login) req_body.emplace_object(); - req_body.as_object().emplace("login"s, "MyLogin123456780"); + req_body.as_object().emplace("login"s, "MyLogin123456780"s + kUUID); req_body.as_object().emplace("password"s, "Qwerty123456"s); req.body() = serialize(req_body);