Fix failing unit-test

This commit is contained in:
BONNe 2022-08-26 12:27:11 +03:00
parent c7b48b3d2a
commit 50bc236bbc
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@ public class IslandTest {
//when(location.getWorld()).thenReturn(world);
when(location.clone()).thenReturn(location);
when(world.getName()).thenReturn("bskyblock_world");
when(location.getWorld()).thenReturn(world);
when(world.getEnvironment()).thenReturn(Environment.NORMAL);
// User
when(user.getUniqueId()).thenReturn(uuid);