Fix for IslandPromoteCommandTest

This commit is contained in:
tastybento 2024-03-14 21:11:22 -07:00
parent 977c82015b
commit e2a4233f69

View File

@ -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);