From 3236c68e5c29b72fbcd67b001955442c0a36e820 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 25 Sep 2021 09:42:51 -0700 Subject: [PATCH] Fix test. --- .../api/commands/admin/team/AdminTeamKickCommandTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/world/bentobox/bentobox/api/commands/admin/team/AdminTeamKickCommandTest.java b/src/test/java/world/bentobox/bentobox/api/commands/admin/team/AdminTeamKickCommandTest.java index 9f8cacecc..713f72f61 100644 --- a/src/test/java/world/bentobox/bentobox/api/commands/admin/team/AdminTeamKickCommandTest.java +++ b/src/test/java/world/bentobox/bentobox/api/commands/admin/team/AdminTeamKickCommandTest.java @@ -217,8 +217,8 @@ public class AdminTeamKickCommandTest { verify(im).removePlayer(eq(world), eq(notUUID)); verify(pm).clearHomeLocations(eq(world), eq(notUUID)); verify(user).sendMessage(eq("commands.admin.team.kick.success"), eq(TextVariables.NAME), eq(name), eq("[owner]"), anyString()); - // Offline so event will be called 5 times - verify(pim, times(5)).callEvent(any()); + // Offline so event will be called 4 times + verify(pim, times(4)).callEvent(any()); } }