mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-29 12:37:37 +01:00
Fixes assertion error.
This commit is contained in:
parent
83827da448
commit
b711f3fd6c
@ -174,7 +174,7 @@ public class AdminSetspawnCommandTest {
|
||||
Optional<Island> oi = Optional.of(island);
|
||||
when(im.getIslandAt(Mockito.any(Location.class))).thenReturn(oi);
|
||||
AdminSetspawnCommand c = new AdminSetspawnCommand(ac);
|
||||
assertFalse(c.execute(user, "setspawn", Collections.emptyList()));
|
||||
assertTrue(c.execute(user, "setspawn", Collections.emptyList()));
|
||||
Mockito.verify(user).sendMessage("commands.admin.setspawn.already-spawn");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user