generated from Sithas/conan_template
Починка тестов
This commit is contained in:
@@ -18,8 +18,6 @@
|
|||||||
#include "./../../src/helpers/helpers.h"
|
#include "./../../src/helpers/helpers.h"
|
||||||
#include "../fixtures/AuthFixture.h"
|
#include "../fixtures/AuthFixture.h"
|
||||||
|
|
||||||
const std::string kUUID = std::to_string(uad::Random());
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace uad;
|
using namespace uad;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
#include "./../../src/helpers/helpers.h"
|
#include "./../../src/helpers/helpers.h"
|
||||||
#include "../fixtures/AuthFixture.h"
|
#include "../fixtures/AuthFixture.h"
|
||||||
|
|
||||||
const std::string kUUID = std::to_string(uad::Random());
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace uad;
|
using namespace uad;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
#include "./../../src/helpers/helpers.h"
|
#include "./../../src/helpers/helpers.h"
|
||||||
#include "./../fixtures/AuthFixture.h"
|
#include "./../fixtures/AuthFixture.h"
|
||||||
|
|
||||||
const std::string kUUID = std::to_string(uad::Random());
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace uad;
|
using namespace uad;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|||||||
Vendored
+1
@@ -12,6 +12,7 @@ using namespace std;
|
|||||||
namespace uad
|
namespace uad
|
||||||
{
|
{
|
||||||
AuthFixture::AuthFixture() :
|
AuthFixture::AuthFixture() :
|
||||||
|
kUUID(std::to_string(uad::Random())),
|
||||||
argv(boost::unit_test::framework::master_test_suite().argv),
|
argv(boost::unit_test::framework::master_test_suite().argv),
|
||||||
mysql_credentials(argv[1]),
|
mysql_credentials(argv[1]),
|
||||||
mysql_session(new mysqlx::Session(mysql_credentials)),
|
mysql_session(new mysqlx::Session(mysql_credentials)),
|
||||||
|
|||||||
Vendored
+1
@@ -20,6 +20,7 @@ public:
|
|||||||
boost::beast::http::string_body>;
|
boost::beast::http::string_body>;
|
||||||
using Request = boost::beast::http::request<boost::beast::http::string_body,
|
using Request = boost::beast::http::request<boost::beast::http::string_body,
|
||||||
boost::beast::http::basic_fields<std::allocator<char>>>;
|
boost::beast::http::basic_fields<std::allocator<char>>>;
|
||||||
|
const std::string kUUID;
|
||||||
char** argv;
|
char** argv;
|
||||||
|
|
||||||
const std::string mysql_credentials;
|
const std::string mysql_credentials;
|
||||||
|
|||||||
Reference in New Issue
Block a user