[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 17:56:48 -05:00
parent a848795b25
commit e5df094da4

View File

@@ -1440,7 +1440,7 @@ static void remove_item_meta_restricted_names_fail(i_provider &provider) {
for (const auto &key : META_PERMANENT_NAMES) { for (const auto &key : META_PERMANENT_NAMES) {
auto res = provider.remove_item_meta(api_path, std::string{key}); auto res = provider.remove_item_meta(api_path, std::string{key});
EXPECT_NE(api_error::success, res); EXPECT_EQ(api_error::success, res);
api_meta_map meta{}; api_meta_map meta{};
EXPECT_EQ(api_error::success, provider.get_item_meta(api_path, meta)); EXPECT_EQ(api_error::success, provider.get_item_meta(api_path, meta));