diff options
author | Sho Amano <samano@xevo.com> | 2017-08-11 11:13:45 +0900 |
---|---|---|
committer | Sho Amano <samano@xevo.com> | 2017-08-11 12:26:26 +0900 |
commit | a530ae00b481eef63bd9be8bbb2205a725c04ba6 (patch) | |
tree | 96dbb808298e4a45bc9e531af54f13c7fd205a08 /src/components/protocol_handler/test | |
parent | f11831aa529870067a31c484971738b06a5f35b0 (diff) | |
download | sdl_core-a530ae00b481eef63bd9be8bbb2205a725c04ba6.tar.gz |
Remove deprecated enable_protocol_5() method in test code
Reflecting review comments.
Diffstat (limited to 'src/components/protocol_handler/test')
-rw-r--r-- | src/components/protocol_handler/test/protocol_handler_tm_test.cc | 4 |
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); |