From d9e70ad81d20d4d3a48c4fecbcb61170507abd0d Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 17 Sep 2025 18:21:30 -0500 Subject: [PATCH] [unit test] Complete all providers unit tests #12 --- repertory/repertory_test/src/providers_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) {