mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 21:27:44 +01:00
Change cycle click test to test Travis
This commit is contained in:
parent
809e18b971
commit
2f1bc509fa
@ -314,10 +314,7 @@ public class CycleClickTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testNotOwner() {
|
public void testNotOwner() {
|
||||||
UUID u;
|
UUID u = UUID.randomUUID();
|
||||||
do {
|
|
||||||
u = UUID.randomUUID();
|
|
||||||
} while(u.equals(uuid));
|
|
||||||
|
|
||||||
when(island.getOwner()).thenReturn(u);
|
when(island.getOwner()).thenReturn(u);
|
||||||
Mockito.verify(plugin, Mockito.never()).getRanksManager();
|
Mockito.verify(plugin, Mockito.never()).getRanksManager();
|
||||||
|
Loading…
Reference in New Issue
Block a user