[unit test] Complete all providers unit tests #12
This commit is contained in:
@@ -1454,7 +1454,9 @@ static void remove_item_meta_restricted_names_fail(const app_config &cfg,
|
|||||||
EXPECT_TRUE(meta.contains(std::string{key}));
|
EXPECT_TRUE(meta.contains(std::string{key}));
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPECT_EQ(api_error::success, provider.remove_file(api_path));
|
if (provider.get_provider_type() != provider_type::encrypt) {
|
||||||
|
EXPECT_EQ(api_error::success, provider.remove_file(api_path));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rename_file(i_provider &provider) {
|
static void rename_file(i_provider &provider) {
|
||||||
|
Reference in New Issue
Block a user