mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 19:25:12 +01:00
Fixed failing test in JoinLeaveListener (erroneous)
This commit is contained in:
parent
e17056376a
commit
abf5e1f071
@ -297,8 +297,8 @@ public class JoinLeaveListenerTest {
|
||||
jll.onPlayerJoin(event);
|
||||
// Verify
|
||||
verify(player, never()).sendMessage(eq("commands.admin.setrange.range-updated"));
|
||||
// Verify island setting
|
||||
verify(island).setProtectionRange(eq(50));
|
||||
// Verify that the island protection range is not changed if it is already at that value
|
||||
verify(island, never()).setProtectionRange(eq(50));
|
||||
// Verify log
|
||||
verify(plugin, never()).log("Island protection range changed from 50 to 10 for tastybento due to permission.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user