From 65c02d182b721fa2e5e86595dc795622570a4b6e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 14:04:47 +0000 Subject: [PATCH] fix(test): read the bulk-updated property from the plugin services - the Accessors test read the value back from its own local property map, which it had just written, so the check could not fail - check the result of UpdateProperties() and read the value back from the plugin services Co-Authored-By: Claude Opus 5.5 --- test/plugin_services/_config.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/plugin_services/_config.cxx b/test/plugin_services/_config.cxx index 3f94171d..9ece549b 100644 --- a/test/plugin_services/_config.cxx +++ b/test/plugin_services/_config.cxx @@ -136,10 +136,9 @@ TEST_F(PluginServices, Accessors) ASSERT_EQ(boost::any_cast(properties.at("newcustom")), 12345); properties.at("custom3") = 11111; - mServices.UpdateProperties(properties); - // bulk update should update values of all properties, but only if all of them exist - ASSERT_EQ(boost::any_cast(properties.at("custom3")), 11111); + ASSERT_EQ(mServices.UpdateProperties(properties), true); + ASSERT_EQ(mServices.GetProperty("custom3"), 11111); properties.at("custom3") = 22222; properties.emplace("custom4", 17);