Revert "Fixed errors in tests"

This reverts commit b7f9892d95.
This commit is contained in:
Florian CUNY 2019-02-16 10:48:41 +01:00
parent 0d7836ff12
commit 16c4c9b0be
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
package world.bentobox.bentobox.listeners; package world.bentobox.bentobox.listeners;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner; import org.powermock.modules.junit4.PowerMockRunner;
@ -20,7 +19,6 @@ import static org.mockito.Mockito.when;
*/ */
@RunWith(PowerMockRunner.class) @RunWith(PowerMockRunner.class)
@PrepareForTest({BentoBox.class}) @PrepareForTest({BentoBox.class})
@Ignore
public class NetherTreesListenerTest { public class NetherTreesListenerTest {
/* Plugin */ /* Plugin */

View File

@ -89,7 +89,7 @@ public class PanelListenerManagerTest {
click = ClickType.LEFT; click = ClickType.LEFT;
inv = InventoryAction.UNKNOWN; inv = InventoryAction.UNKNOWN;
plm = new PanelListenerManager(plugin); plm = new PanelListenerManager();
// Panel // Panel
panel = mock(Panel.class); panel = mock(Panel.class);