summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/protocol_handler/test/protocol_handler_tm_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/protocol_handler/test/protocol_handler_tm_test.cc b/src/components/protocol_handler/test/protocol_handler_tm_test.cc
index 7442e9ab2a..f4baaf7d58 100644
--- a/src/components/protocol_handler/test/protocol_handler_tm_test.cc
+++ b/src/components/protocol_handler/test/protocol_handler_tm_test.cc
@@ -564,8 +564,8 @@ TEST_F(ProtocolHandlerImplTest,
StartSession_Unprotected_Multiple_SessionObserverAcceptAndReject) {
using namespace protocol_handler;
- ON_CALL(protocol_handler_settings_mock, enable_protocol_5())
- .WillByDefault(Return(true));
+ ON_CALL(protocol_handler_settings_mock, max_supported_protocol_version())
+ .WillByDefault(Return(PROTOCOL_VERSION_5));
const size_t maximum_payload_size = 1000;
InitProtocolHandlerImpl(0u, 0u, false, 0u, 0u, 0, maximum_payload_size);