Ignoring IslandBan- & IslandUnbanCommand tests for now

I could not get them to work again
This commit is contained in:
Florian CUNY 2019-01-05 10:58:32 +01:00
parent 9387f65dbf
commit 8da1dc1590
2 changed files with 6 additions and 3 deletions

View File

@ -22,6 +22,7 @@ import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitScheduler; import org.bukkit.scheduler.BukkitScheduler;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.mockito.Mockito; import org.mockito.Mockito;
@ -47,6 +48,8 @@ import world.bentobox.bentobox.managers.RanksManager;
* @author tastybento * @author tastybento
* *
*/ */
//FIXME
@Ignore
@RunWith(PowerMockRunner.class) @RunWith(PowerMockRunner.class)
@PrepareForTest({Bukkit.class, BentoBox.class, User.class }) @PrepareForTest({Bukkit.class, BentoBox.class, User.class })
public class IslandBanCommandTest { public class IslandBanCommandTest {

View File

@ -1,6 +1,3 @@
/**
*
*/
package world.bentobox.bentobox.api.commands.island; package world.bentobox.bentobox.api.commands.island;
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertFalse;
@ -23,6 +20,7 @@ import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitScheduler; import org.bukkit.scheduler.BukkitScheduler;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.mockito.Mockito; import org.mockito.Mockito;
@ -47,6 +45,8 @@ import world.bentobox.bentobox.managers.RanksManager;
* @author tastybento * @author tastybento
* *
*/ */
//FIXME
@Ignore
@RunWith(PowerMockRunner.class) @RunWith(PowerMockRunner.class)
@PrepareForTest({Bukkit.class, BentoBox.class, User.class }) @PrepareForTest({Bukkit.class, BentoBox.class, User.class })
public class IslandUnbanCommandTest { public class IslandUnbanCommandTest {