From d758c9262117d003692d2dbd12197bb85b727703 Mon Sep 17 00:00:00 2001 From: tastybento Date: Wed, 23 Oct 2024 21:35:42 -0700 Subject: [PATCH] Fix test --- .../api/commands/island/team/IslandTeamInviteCommandTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamInviteCommandTest.java b/src/test/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamInviteCommandTest.java index 5ad3b61b9..a65cbfecb 100644 --- a/src/test/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamInviteCommandTest.java +++ b/src/test/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamInviteCommandTest.java @@ -18,7 +18,6 @@ import java.util.List; import java.util.UUID; import org.bukkit.Bukkit; -import org.bukkit.event.inventory.InventoryType; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemFactory; import org.bukkit.inventory.meta.ItemMeta; @@ -170,7 +169,6 @@ public class IslandTeamInviteCommandTest extends RanksManagerBeforeClassTest { when(Bukkit.getItemFactory()).thenReturn(itemFactory); Inventory inventory = mock(Inventory.class); when(Bukkit.createInventory(eq(null), anyInt(), any())).thenReturn(inventory); - when(Bukkit.createInventory(eq(null), any(InventoryType.class), any())).thenReturn(inventory); // Command under test itl = new IslandTeamInviteCommand(ic);