generated from Sithas/conan_template
Compare commits
2 Commits
8f2834cac7
...
cf12432688
| Author | SHA1 | Date | |
|---|---|---|---|
| cf12432688 | |||
| e8c0c0bde6 |
@@ -20,8 +20,20 @@ using RouteAuthRegistrationExecutor = AuthRegistrationExecutor<beast::http::stri
|
||||
|
||||
BOOST_AUTO_TEST_CASE(AuthRegistrationExecutor_Succesful_Login)
|
||||
{
|
||||
auto& args = boost::unit_test::framework::master_test_suite().argc;
|
||||
auto& argv = boost::unit_test::framework::master_test_suite().argv;
|
||||
|
||||
const std::string mysql_credentials = argv[1];
|
||||
|
||||
mysqlx::Session* mysql_session = new mysqlx::Session(mysql_credentials);
|
||||
|
||||
uad::SetMySqlSession(mysql_session);
|
||||
|
||||
auto user_dao = make_shared<MySQLUserDAO>(GetMySqlSession());
|
||||
auto executor = make_shared<RouteAuthRegistrationExecutor>(GetMySqlSession(), user_dao);
|
||||
|
||||
BOOST_CHECK(true == true);
|
||||
|
||||
mysql_session->close();
|
||||
delete mysql_session;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user