mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-03 09:30:17 +01:00
Fixed BentoBoxReloadCommandTest
This commit is contained in:
parent
3e6fe52f95
commit
ad3cb821f4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user