mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2025-01-02 14:29:01 +01:00
Fixed test failures.
This commit is contained in:
parent
aff6fcec22
commit
10d8352f1c
@ -176,6 +176,7 @@ public class TryToCompleteTest {
|
|||||||
Optional<GameModeAddon> optionalGameMode = Optional.of(gameMode);
|
Optional<GameModeAddon> optionalGameMode = Optional.of(gameMode);
|
||||||
when(iwm.getAddon(any())).thenReturn(optionalGameMode);
|
when(iwm.getAddon(any())).thenReturn(optionalGameMode);
|
||||||
when(iwm.getIslandDistance(any())).thenReturn(400);
|
when(iwm.getIslandDistance(any())).thenReturn(400);
|
||||||
|
when(iwm.inWorld(any(World.class))).thenReturn(true);
|
||||||
|
|
||||||
// Island Manager
|
// Island Manager
|
||||||
when(addon.getIslands()).thenReturn(im);
|
when(addon.getIslands()).thenReturn(im);
|
||||||
|
Loading…
Reference in New Issue
Block a user