From 4996c88fa854086b696e2ef0f2b98dc80052eabe Mon Sep 17 00:00:00 2001 From: Fulminazzo Date: Sat, 21 Dec 2024 22:45:40 +0100 Subject: [PATCH] Fixed tests --- .../test/java/it/fulminazzo/yagl/items/BukkitItemTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/item/bukkit/src/test/java/it/fulminazzo/yagl/items/BukkitItemTest.java b/item/bukkit/src/test/java/it/fulminazzo/yagl/items/BukkitItemTest.java index bf01b2db..702f8394 100644 --- a/item/bukkit/src/test/java/it/fulminazzo/yagl/items/BukkitItemTest.java +++ b/item/bukkit/src/test/java/it/fulminazzo/yagl/items/BukkitItemTest.java @@ -62,9 +62,9 @@ void testIsSimilar() { BukkitItem actual = BukkitItem.newItem(Material.STONE).setAmount(3) .setDisplayName("Hello world").addLore("An interesting lore...") - .addEnchantment("flame", 3); + .addEnchantment("silk_touch", 3); - assertTrue(actual.isSimilar(expected)); + assertTrue(actual.isSimilar(expected), String.format("%s should have been similar to %s", actual, expected)); } @Test