generated from Sithas/conan_template
Подготовка интеграционного теста
This commit is contained in:
@@ -158,6 +158,10 @@ BOOST_AUTO_TEST_CASE(AuthRegistrationExecutor_Succesful_Login)
|
|||||||
|
|
||||||
BOOST_CHECK(response.result() == http::status::ok);
|
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();
|
mysql_session->close();
|
||||||
delete mysql_session;
|
delete mysql_session;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user