[unit test] Complete all providers unit tests #12
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user