From e7e3c3d21d0bb84f771b1e42ada77f74e72a8e11 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Sun, 26 Jun 2022 13:25:10 +0200 Subject: [PATCH] Disable test CompatibileMaterialTest#getMaterialForAllBukkitMaterials It is highly version dependent and breaks often because of that --- .../core/compatibility/material/CompatibleMaterialTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/test/java/com/songoda/core/compatibility/material/CompatibleMaterialTest.java b/Core/src/test/java/com/songoda/core/compatibility/material/CompatibleMaterialTest.java index 1434214d..623c2aea 100644 --- a/Core/src/test/java/com/songoda/core/compatibility/material/CompatibleMaterialTest.java +++ b/Core/src/test/java/com/songoda/core/compatibility/material/CompatibleMaterialTest.java @@ -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 returnedMaterials = new HashMap<>(Material.values().length);