Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jun 1, 2024
1 parent 6e72c7d commit 6b27c1a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,11 @@ public void testGetIslandLocation() throws InstantiationException, IllegalAccess
when(h.loadObject(anyString())).thenReturn(island);
im.createIsland(location, uuid);
assertEquals(world, im.getIslandLocation(world, uuid).getWorld());
assertEquals(location, im.getIslandLocation(world, uuid));
Location l = im.getIslandLocation(world, uuid);
assertEquals(location.getWorld(), l.getWorld());
assertEquals(location.getBlockX(), l.getBlockX());
assertEquals(location.getBlockY(), l.getBlockY());
assertEquals(location.getBlockZ(), l.getBlockZ());
assertNull(im.getIslandLocation(world, UUID.randomUUID()));
}

Expand Down

0 comments on commit 6b27c1a

Please sign in to comment.