mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 01:21:21 +01:00
Fix test.
This commit is contained in:
parent
500f7292c6
commit
3236c68e5c
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user