Skip to content

Commit

Permalink
test: remove showTitle on DiscordBootstrapTests for 'add by id' command
Browse files Browse the repository at this point in the history
  • Loading branch information
g-nogueira committed Apr 17, 2024
1 parent 023289a commit b6bed7d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,9 @@ public void getCommandFromEmbed_returnsShowCommand() {
mockedEmbed.getFields(); result = new ArrayList<MessageEmbed.Field>(){{
add(new MessageEmbed.Field("TvdbId", "43234", false));
}};
mockedEmbed.getTitle(); result = "ShowTitle1";
}};
String command = new DiscordBootstrap().getCommandFromEmbed(mockedEmbed);
Assert.assertEquals("!show id add ShowTitle1 43234", command);
Assert.assertEquals("!show id add 43234", command);
}

@Test
Expand Down

0 comments on commit b6bed7d

Please sign in to comment.