From d3a7a908f15e1cb9e5c1c9783ac210150da6e07f Mon Sep 17 00:00:00 2001 From: tastybento Date: Wed, 19 Feb 2020 19:46:49 -0800 Subject: [PATCH] Fixes tests for NewIsland class Broken by https://github.com/BentoBoxWorld/BentoBox/pull/1179 --- .../world/bentobox/bentobox/managers/island/NewIslandTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/world/bentobox/bentobox/managers/island/NewIslandTest.java b/src/test/java/world/bentobox/bentobox/managers/island/NewIslandTest.java index 5bc027814..ba5eacf98 100644 --- a/src/test/java/world/bentobox/bentobox/managers/island/NewIslandTest.java +++ b/src/test/java/world/bentobox/bentobox/managers/island/NewIslandTest.java @@ -138,6 +138,7 @@ public class NewIslandTest { when(builder.island(any())).thenReturn(builder); when(builder.location(any())).thenReturn(builder); when(builder.reason(any())).thenReturn(builder); + when(builder.oldIsland(any())).thenReturn(builder); when(builder.build()).thenReturn(ice); when(ice.getBlueprintBundle()).thenReturn(bpb); when(ire.getBlueprintBundle()).thenReturn(bpb);