mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixed unit test
This commit is contained in:
parent
4ba36a7dab
commit
9c938df2d5
@ -113,9 +113,6 @@ class TestResourceRegistration {
|
||||
NamespacedKey key = new NamespacedKey(plugin, "salt");
|
||||
GEOResource resource = testResource(key, "Salt", SlimefunItems.SALT, true, 18);
|
||||
|
||||
Assertions.assertEquals(0, resource.getDefaultSupply(Environment.NETHER, Biome.NETHER_WASTES));
|
||||
Assertions.assertEquals(0, resource.getDefaultSupply(Environment.THE_END, Biome.THE_END));
|
||||
|
||||
Assertions.assertNotEquals(0, resource.getDefaultSupply(Environment.NORMAL, Biome.MOUNTAINS));
|
||||
Assertions.assertTrue(resource.getDefaultSupply(Environment.NORMAL, Biome.BEACH) > 10);
|
||||
Assertions.assertTrue(resource.getDefaultSupply(Environment.NORMAL, Biome.OCEAN) > 10);
|
||||
|
Loading…
Reference in New Issue
Block a user