fix
This commit is contained in:
@@ -45,7 +45,7 @@ namespace repertory {
|
||||
struct encrypt_provider_type final {
|
||||
static constexpr provider_type type{provider_type::encrypt};
|
||||
|
||||
static void setup(std::unique_ptr<i_http_com> &comm,
|
||||
static void setup(std::unique_ptr<i_http_comm> &comm,
|
||||
std::unique_ptr<app_config> &config,
|
||||
std::unique_ptr<i_provider> &provider) {
|
||||
auto config_path =
|
||||
@@ -77,7 +77,7 @@ struct encrypt_provider_type final {
|
||||
struct s3_provider_encrypted_type final {
|
||||
static constexpr provider_type type{provider_type::s3};
|
||||
|
||||
static void setup(std::unique_ptr<i_http_com> &comm,
|
||||
static void setup(std::unique_ptr<i_http_comm> &comm,
|
||||
std::unique_ptr<app_config> &config,
|
||||
std::unique_ptr<i_provider> &provider) {
|
||||
auto config_path =
|
||||
@@ -107,7 +107,7 @@ struct s3_provider_encrypted_type final {
|
||||
struct s3_provider_unencrypted_type final {
|
||||
static constexpr provider_type type{provider_type::s3};
|
||||
|
||||
static void setup(std::unique_ptr<i_http_com> &comm,
|
||||
static void setup(std::unique_ptr<i_http_comm> &comm,
|
||||
std::unique_ptr<app_config> &config,
|
||||
std::unique_ptr<i_provider> &provider) {
|
||||
auto config_path =
|
||||
@@ -137,7 +137,7 @@ struct s3_provider_unencrypted_type final {
|
||||
struct sia_provider_type final {
|
||||
static constexpr provider_type type{provider_type::sia};
|
||||
|
||||
static void setup(std::unique_ptr<i_http_com> &comm,
|
||||
static void setup(std::unique_ptr<i_http_comm> &comm,
|
||||
std::unique_ptr<app_config> &config,
|
||||
std::unique_ptr<i_provider> &provider) {
|
||||
auto config_path =
|
||||
@@ -167,7 +167,7 @@ struct sia_provider_type final {
|
||||
|
||||
template <typename provider_t> class providers_test : public ::testing::Test {
|
||||
public:
|
||||
static std::unique_ptr<i_http_com> comm;
|
||||
static std::unique_ptr<i_http_comm> comm;
|
||||
static std::unique_ptr<app_config> config;
|
||||
static std::unique_ptr<file_manager> mgr;
|
||||
static std::unique_ptr<i_provider> provider;
|
||||
@@ -203,7 +203,7 @@ protected:
|
||||
};
|
||||
|
||||
template <typename provider_t>
|
||||
std::unique_ptr<i_http_com> providers_test<provider_t>::comm;
|
||||
std::unique_ptr<i_http_comm> providers_test<provider_t>::comm;
|
||||
|
||||
template <typename provider_t>
|
||||
std::unique_ptr<app_config> providers_test<provider_t>::config;
|
||||
|
Reference in New Issue
Block a user