[unit test] Complete all providers unit tests #12
Some checks failed
Blockstorage/repertory/pipeline/head This commit looks good
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2025-09-17 18:21:30 -05:00
parent 4c1e9360fb
commit d9e70ad81d

View File

@@ -1454,7 +1454,9 @@ static void remove_item_meta_restricted_names_fail(const app_config &cfg,
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) {