diff --git a/test/unittest/security/authentication/AuthenticationPluginTests.hpp b/test/unittest/security/authentication/AuthenticationPluginTests.hpp index e0aa5e610a8..77cdcff87e3 100644 --- a/test/unittest/security/authentication/AuthenticationPluginTests.hpp +++ b/test/unittest/security/authentication/AuthenticationPluginTests.hpp @@ -165,6 +165,7 @@ TEST_F(AuthenticationPluginTest, handshake_process_ok) ValidationResult_t::VALIDATION_FAILED; participant_attr.properties = get_valid_policy(); + participant_attr.properties.properties().emplace_back("dds.sec.auth.builtin.PKI-DH.preferred_key_agreement", "DH"); result = plugin.validate_local_identity(&local_identity_handle1, adjusted_participant_key1,