mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2024-09-27 14:12:57 +02:00
Fix test
This commit is contained in:
parent
f408d9c00b
commit
894fc1347c
@ -91,7 +91,7 @@ public class JoinListenerTest {
|
|||||||
// Island Manager
|
// Island Manager
|
||||||
when(island.getUniqueId()).thenReturn("unique_id");
|
when(island.getUniqueId()).thenReturn("unique_id");
|
||||||
when(im.getIsland(any(), any(UUID.class))).thenReturn(island);
|
when(im.getIsland(any(), any(UUID.class))).thenReturn(island);
|
||||||
when(im.getIslands(any(), any(UUID.class))).thenReturn(Set.of(island));
|
when(im.getIslands(any(), any(UUID.class))).thenReturn(List.of(island));
|
||||||
// Default is that player has island
|
// Default is that player has island
|
||||||
when(addon.getIslands()).thenReturn(im);
|
when(addon.getIslands()).thenReturn(im);
|
||||||
// Player
|
// Player
|
||||||
|
Loading…
Reference in New Issue
Block a user