From 894fc1347c3a00e25e3fe1ea684fde782d0e854b Mon Sep 17 00:00:00 2001 From: tastybento Date: Thu, 4 Apr 2024 09:02:45 -0700 Subject: [PATCH] Fix test --- .../java/bentobox/addon/limits/listeners/JoinListenerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/bentobox/addon/limits/listeners/JoinListenerTest.java b/src/test/java/bentobox/addon/limits/listeners/JoinListenerTest.java index 4359089..cb1ec03 100644 --- a/src/test/java/bentobox/addon/limits/listeners/JoinListenerTest.java +++ b/src/test/java/bentobox/addon/limits/listeners/JoinListenerTest.java @@ -91,7 +91,7 @@ public class JoinListenerTest { // Island Manager when(island.getUniqueId()).thenReturn("unique_id"); 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 when(addon.getIslands()).thenReturn(im); // Player