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;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
@ -20,7 +19,6 @@ import static org.mockito.Mockito.when;
*/
@RunWith(PowerMockRunner.class)
@PrepareForTest({BentoBox.class})
@Ignore
public class NetherTreesListenerTest {
/* Plugin */

View File

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