Fixed test failures.

This commit is contained in:
tastybento 2022-04-16 15:03:11 -07:00
parent aff6fcec22
commit 10d8352f1c
2 changed files with 2 additions and 1 deletions

View File

@ -176,6 +176,7 @@ public class TryToCompleteTest {
Optional<GameModeAddon> optionalGameMode = Optional.of(gameMode);
when(iwm.getAddon(any())).thenReturn(optionalGameMode);
when(iwm.getIslandDistance(any())).thenReturn(400);
when(iwm.inWorld(any(World.class))).thenReturn(true);
// Island Manager
when(addon.getIslands()).thenReturn(im);