Skip to content

Commit

Permalink
[tests] align tests with deprecated flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sharder996 authored and ricab committed Oct 16, 2023
1 parent af6f4d9 commit c61fd05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_cli_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c61fd05

Please sign in to comment.