diff --git a/src/test/java/com/botdarr/clients/discord/DiscordBootstrapTests.java b/src/test/java/com/botdarr/clients/discord/DiscordBootstrapTests.java index ae2ccf9..2900ab8 100644 --- a/src/test/java/com/botdarr/clients/discord/DiscordBootstrapTests.java +++ b/src/test/java/com/botdarr/clients/discord/DiscordBootstrapTests.java @@ -101,10 +101,9 @@ public void getCommandFromEmbed_returnsShowCommand() { mockedEmbed.getFields(); result = new ArrayList(){{ 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