refactor tests
This commit is contained in:
@@ -360,9 +360,17 @@ public:
|
||||
}
|
||||
|
||||
#ifdef REPERTORY_TESTING
|
||||
void set_host_config(host_config hc) { hc_ = std::move(hc); }
|
||||
void set_host_config(host_config hc) {
|
||||
config_changed_ = true;
|
||||
hc_ = std::move(hc);
|
||||
save();
|
||||
}
|
||||
|
||||
void set_s3_config(s3_config s3) { s3_config_ = std::move(s3); }
|
||||
void set_s3_config(s3_config s3) {
|
||||
config_changed_ = true;
|
||||
s3_config_ = std::move(s3);
|
||||
save();
|
||||
}
|
||||
#endif
|
||||
|
||||
void set_is_remote_mount(bool is_remote_mount);
|
||||
|
Reference in New Issue
Block a user