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

This commit is contained in:
2025-09-16 14:56:25 -05:00
parent ee666a8376
commit b73cba45d6

View File

@@ -887,11 +887,12 @@ static void get_filesystem_item_from_source_path(const app_config &cfg,
create_file(provider, api_path);
EXPECT_EQ(api_error::success,
set_item_meta(api_path, {
{META_SIZE, std::to_string(size)},
{META_SOURCE, source_path},
}));
EXPECT_EQ(
api_error::success,
provider.set_item_meta(api_path, {
{META_SIZE, std::to_string(size)},
{META_SOURCE, source_path},
}));
stop_type stop_requested{false};
auto res = provider.upload_file(api_path, source_path, stop_requested);