diff options
Diffstat (limited to 'src/components/application_manager/test/commands/mobile/delete_command_request_test.cc')
-rw-r--r-- | src/components/application_manager/test/commands/mobile/delete_command_request_test.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/application_manager/test/commands/mobile/delete_command_request_test.cc b/src/components/application_manager/test/commands/mobile/delete_command_request_test.cc index 729696b660..420e6c839f 100644 --- a/src/components/application_manager/test/commands/mobile/delete_command_request_test.cc +++ b/src/components/application_manager/test/commands/mobile/delete_command_request_test.cc @@ -134,10 +134,6 @@ TEST_F(DeleteCommandRequestTest, OnEvent_VrDeleteCommand_UNSUPPORTED_RESOURCE) { Event event_vr(hmi_apis::FunctionID::VR_DeleteCommand); event_vr.set_smart_object(*event_msg); - EXPECT_CALL(*app, RemoveCommand(kCommandId)); - - EXPECT_CALL(*app, UpdateHash()); - MessageSharedPtr result_msg( CatchMobileCommandResult(CallOnEvent(*command, event_vr))); @@ -145,7 +141,7 @@ TEST_F(DeleteCommandRequestTest, OnEvent_VrDeleteCommand_UNSUPPORTED_RESOURCE) { EXPECT_EQ( (*result_msg)[am::strings::msg_params][am::strings::success].asBool(), - true); + false); EXPECT_EQ( hmi_apis::Common_Result::UNSUPPORTED_RESOURCE, (*result_msg)[am::strings::msg_params][am::strings::result_code].asInt()); |