From b6bed7dfdf59d2eceb81aa240ec1a8c71fa594b9 Mon Sep 17 00:00:00 2001 From: Gustavo Nogueira Date: Wed, 17 Apr 2024 21:47:15 +0100 Subject: [PATCH] test: remove showTitle on DiscordBootstrapTests for 'add by id' command --- .../com/botdarr/clients/discord/DiscordBootstrapTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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