diff --git a/tests/test_cli_client.cpp b/tests/test_cli_client.cpp index 83859b7b53..db3de12a9d 100644 --- a/tests/test_cli_client.cpp +++ b/tests/test_cli_client.cpp @@ -1718,9 +1718,10 @@ TEST_F(Client, help_cmd_help_ok) } // info cli tests -TEST_F(Client, info_cmd_fails_no_args) +TEST_F(Client, infoCmdOkNoArgs) { - EXPECT_THAT(send_command({"info"}), Eq(mp::ReturnCode::CommandLineError)); + EXPECT_CALL(mock_daemon, info(_, _)); + EXPECT_THAT(send_command({"info"}), Eq(mp::ReturnCode::Ok)); } TEST_F(Client, info_cmd_ok_with_one_arg)