mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-24 19:55:17 +01:00
Fixed tests.
This commit is contained in:
parent
4bf0d8ec0f
commit
a5a75c6854
@ -10,6 +10,11 @@ public class PlaceholderBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The value this placeholder should take
|
||||
* @param value
|
||||
* @return
|
||||
*/
|
||||
public PlaceholderBuilder value(Placeholder.PlaceholderRequest value) {
|
||||
this.value = value;
|
||||
return this;
|
||||
|
@ -143,7 +143,7 @@ public class IslandCommandTest {
|
||||
when(plugin.getSettings()).thenReturn(settings);
|
||||
|
||||
// User has an island - so go there!
|
||||
when(im.hasIsland(Mockito.any(), Mockito.eq(uuid))).thenReturn(true);
|
||||
when(im.getIsland(Mockito.any(), Mockito.eq(uuid))).thenReturn(island);
|
||||
assertTrue(ic.execute(user, new ArrayList<>()));
|
||||
when(user.getWorld()).thenReturn(world);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user