Fixed BentoBoxReloadCommandTest

This commit is contained in:
Florian CUNY 2019-06-12 13:25:28 +02:00
parent 3e6fe52f95
commit ad3cb821f4

View File

@ -1,6 +1,3 @@
/**
*
*/
package world.bentobox.bentobox.commands; package world.bentobox.bentobox.commands;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
@ -73,7 +70,6 @@ public class BentoBoxReloadCommandTest {
when(plugin.getCommandsManager()).thenReturn(cm); when(plugin.getCommandsManager()).thenReturn(cm);
// Parent command has no aliases // Parent command has no aliases
when(ac.getSubCommandAliases()).thenReturn(new HashMap<>()); when(ac.getSubCommandAliases()).thenReturn(new HashMap<>());
when(ac.getPermissionPrefix()).thenReturn("bentobox.");
// Addons manager // Addons manager
when(plugin.getAddonsManager()).thenReturn(am); when(plugin.getAddonsManager()).thenReturn(am);
// Addons // Addons