mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +01:00
Fix test
This commit is contained in:
parent
03888f811d
commit
d758c92621
@ -18,7 +18,6 @@ import java.util.List;
|
|||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.event.inventory.InventoryType;
|
|
||||||
import org.bukkit.inventory.Inventory;
|
import org.bukkit.inventory.Inventory;
|
||||||
import org.bukkit.inventory.ItemFactory;
|
import org.bukkit.inventory.ItemFactory;
|
||||||
import org.bukkit.inventory.meta.ItemMeta;
|
import org.bukkit.inventory.meta.ItemMeta;
|
||||||
@ -170,7 +169,6 @@ public class IslandTeamInviteCommandTest extends RanksManagerBeforeClassTest {
|
|||||||
when(Bukkit.getItemFactory()).thenReturn(itemFactory);
|
when(Bukkit.getItemFactory()).thenReturn(itemFactory);
|
||||||
Inventory inventory = mock(Inventory.class);
|
Inventory inventory = mock(Inventory.class);
|
||||||
when(Bukkit.createInventory(eq(null), anyInt(), any())).thenReturn(inventory);
|
when(Bukkit.createInventory(eq(null), anyInt(), any())).thenReturn(inventory);
|
||||||
when(Bukkit.createInventory(eq(null), any(InventoryType.class), any())).thenReturn(inventory);
|
|
||||||
|
|
||||||
// Command under test
|
// Command under test
|
||||||
itl = new IslandTeamInviteCommand(ic);
|
itl = new IslandTeamInviteCommand(ic);
|
||||||
|
Loading…
Reference in New Issue
Block a user