Loading tests/test_client.cpp +4 −0 Changes for tests/test_client.cpp: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -28,7 +28,11 @@ protected: std::unique_ptr<AuthBackend> backend; void SetUp() override { #ifdef _MSC_VER std::string dbPath = "C:\\temp\\authdb_client_test_" + std::to_string(getpid()) + ".db"; #else std::string dbPath = "/tmp/authdb_client_test_" + std::to_string(getpid()) + ".db"; #endif backend = std::make_unique<AuthBackend>(authdb::File, dbPath, "testdomain"); } Loading Loading
tests/test_client.cpp +4 −0 Changes for tests/test_client.cpp: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -28,7 +28,11 @@ protected: std::unique_ptr<AuthBackend> backend; void SetUp() override { #ifdef _MSC_VER std::string dbPath = "C:\\temp\\authdb_client_test_" + std::to_string(getpid()) + ".db"; #else std::string dbPath = "/tmp/authdb_client_test_" + std::to_string(getpid()) + ".db"; #endif backend = std::make_unique<AuthBackend>(authdb::File, dbPath, "testdomain"); } Loading