Disable test CompatibileMaterialTest#getMaterialForAllBukkitMaterials

It is highly version dependent and breaks often because of that
This commit is contained in:
Christian Koop 2022-06-26 13:25:10 +02:00
parent c9a48387de
commit e7e3c3d21d
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3

View File

@ -6,6 +6,7 @@ import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.util.HashMap;
@ -34,6 +35,7 @@ class CompatibleMaterialTest {
assertNull(CompatibleMaterial.getMaterial((ItemStack) null));
}
@Disabled("This test causes issues and is version dependent")
@Test
void getMaterialForAllBukkitMaterials() {
Map<CompatibleMaterial, Material> returnedMaterials = new HashMap<>(Material.values().length);