[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);
|
create_file(provider, api_path);
|
||||||
|
|
||||||
EXPECT_EQ(api_error::success,
|
EXPECT_EQ(
|
||||||
set_item_meta(api_path, {
|
api_error::success,
|
||||||
{META_SIZE, std::to_string(size)},
|
provider.set_item_meta(api_path, {
|
||||||
{META_SOURCE, source_path},
|
{META_SIZE, std::to_string(size)},
|
||||||
}));
|
{META_SOURCE, source_path},
|
||||||
|
}));
|
||||||
|
|
||||||
stop_type stop_requested{false};
|
stop_type stop_requested{false};
|
||||||
auto res = provider.upload_file(api_path, source_path, stop_requested);
|
auto res = provider.upload_file(api_path, source_path, stop_requested);
|
||||||
|
Reference in New Issue
Block a user