Skip to content

Commit

Permalink
Rix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Nov 21, 2023
1 parent c17160f commit 0b98f10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/test/scsictl_commands_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using namespace protobuf_util;
TEST(ScsictlCommandsTest, Execute)
{
PbCommand command;
ScsictlCommands commands(command, "localhost", 0);
ScsictlCommands commands(command, "localhost", 0, "", "", "");

command.set_operation(LOG_LEVEL);
EXPECT_THROW(commands.Execute("log_level", "", "", "", ""), io_exception);
Expand Down Expand Up @@ -103,9 +103,9 @@ TEST(ScsictlCommandsTest, CommandDevicesInfo)
{
PbCommand command;

ScsictlCommands commands1(command, "/invalid_host_name", 0);
ScsictlCommands commands1(command, "/invalid_host_name", 0, "", "", "");
EXPECT_THROW(commands1.CommandDevicesInfo(), io_exception);

ScsictlCommands commands2(command, "localhost", 0);
ScsictlCommands commands2(command, "localhost", 0, "", "", "");
EXPECT_THROW(commands2.CommandDevicesInfo(), io_exception);
}

0 comments on commit 0b98f10

Please sign in to comment.