summaryrefslogtreecommitdiff
path: root/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc')
-rw-r--r--src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc b/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc
index f38eb019e2..84ca5883ab 100644
--- a/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc
+++ b/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc
@@ -37,6 +37,7 @@
#include "hmi_message_handler/mock_hmi_message_adapter_impl.h"
#include "hmi_message_handler/mock_hmi_message_handler_settings.h"
#include "hmi_message_handler/mock_hmi_message_observer.h"
+#include "utils/jsoncpp_reader_wrapper.h"
#include "utils/test_async_waiter.h"
namespace test {
@@ -197,10 +198,10 @@ TEST(WebsocketSessionTest, SendMessage_UnpreparedConnection_WithoutFall) {
"{\"id\" : 1,\"jsonrpc\" : \"2.0\",\"method\" : "
"\"BasicCommunication.GetSystemInfo\"}";
- Json::Reader reader;
+ utils::JsonReader reader;
Json::Value json_value;
- ASSERT_TRUE(reader.parse(message, json_value, false));
+ ASSERT_TRUE(reader.parse(message, &json_value));
// Make unprepared connection
boost::asio::io_context ioc{1};