Change cycle click test to test Travis

This commit is contained in:
tastybento 2019-05-04 22:36:16 -07:00
parent 809e18b971
commit 2f1bc509fa

View File

@ -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();