diff --git a/repertory/repertory_test/src/providers_test.cpp b/repertory/repertory_test/src/providers_test.cpp index 3e2a27b1..7d7fd350 100644 --- a/repertory/repertory_test/src/providers_test.cpp +++ b/repertory/repertory_test/src/providers_test.cpp @@ -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) {