mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 18:55:17 +01:00
Fix for IslandPromoteCommandTest
This commit is contained in:
parent
977c82015b
commit
e2a4233f69
@ -102,6 +102,7 @@ public class IslandTeamPromoteCommandTest extends RanksManagerBeforeClassTest {
|
|||||||
when(pm.getUser("target")).thenReturn(target);
|
when(pm.getUser("target")).thenReturn(target);
|
||||||
when(target.getName()).thenReturn("target");
|
when(target.getName()).thenReturn("target");
|
||||||
when(target.getDisplayName()).thenReturn("Target");
|
when(target.getDisplayName()).thenReturn("Target");
|
||||||
|
when(target.getUniqueId()).thenReturn(uuid);
|
||||||
|
|
||||||
// Managers
|
// Managers
|
||||||
when(plugin.getIslands()).thenReturn(im);
|
when(plugin.getIslands()).thenReturn(im);
|
||||||
|
Loading…
Reference in New Issue
Block a user