Fix test.

This commit is contained in:
tastybento 2021-09-25 09:42:51 -07:00
parent 500f7292c6
commit 3236c68e5c
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}
}