Fix GameModePlaceholderTest

This commit is contained in:
tastybento 2021-05-09 13:10:37 -07:00
parent 839f05de71
commit 17af44e67a

View File

@ -94,6 +94,8 @@ public class GameModePlaceholderTest {
when(user.getLocation()).thenReturn(location);
when(im.getIslandAt(any())).thenReturn(Optional.of(island));
when(user.isPlayer()).thenReturn(true);
// Max members
when(im.getMaxMembers(island, RanksManager.MEMBER_RANK)).thenReturn(10);
}
/**