One test ignored.

This commit is contained in:
tastybento 2024-12-30 16:50:47 -08:00
parent 2511f1697e
commit 50380d35a6

View File

@ -55,7 +55,6 @@ import world.bentobox.bentobox.util.Util;
* @author tastybento * @author tastybento
* *
*/ */
@Ignore("Needs update to work with PaperAPI")
@RunWith(PowerMockRunner.class) @RunWith(PowerMockRunner.class)
@PrepareForTest({ Bukkit.class, BentoBox.class, User.class, Util.class , ServerBuildInfo.class}) @PrepareForTest({ Bukkit.class, BentoBox.class, User.class, Util.class , ServerBuildInfo.class})
public class IslandTeamInviteCommandTest extends RanksManagerBeforeClassTest { public class IslandTeamInviteCommandTest extends RanksManagerBeforeClassTest {
@ -227,6 +226,7 @@ public class IslandTeamInviteCommandTest extends RanksManagerBeforeClassTest {
* Test method for * Test method for
* {@link world.bentobox.bentobox.api.commands.island.team.IslandTeamInviteCommand#canExecute(User, String, java.util.List)}. * {@link world.bentobox.bentobox.api.commands.island.team.IslandTeamInviteCommand#canExecute(User, String, java.util.List)}.
*/ */
@Ignore("PaperAPI Material issue with Material.get")
@Test @Test
public void testCanExecuteNoTarget() { public void testCanExecuteNoTarget() {
assertFalse(itl.canExecute(user, itl.getLabel(), Collections.emptyList())); assertFalse(itl.canExecute(user, itl.getLabel(), Collections.emptyList()));