From d0bb0a1d7e4471d06456d69981fd48b6ab489b59 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 26 Aug 2018 20:44:50 +1000 Subject: [PATCH] Fix some tests randomly failing --- src/test/java/org/bukkit/SoundTest.java | 3 ++- src/test/java/org/bukkit/entity/EntityTypesTest.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/bukkit/SoundTest.java b/src/test/java/org/bukkit/SoundTest.java index a2bb73f0fc..da8c3dcbb6 100644 --- a/src/test/java/org/bukkit/SoundTest.java +++ b/src/test/java/org/bukkit/SoundTest.java @@ -7,9 +7,10 @@ import static org.junit.Assert.*; import static org.hamcrest.Matchers.*; import org.bukkit.craftbukkit.CraftSound; +import org.bukkit.support.AbstractTestingBase; import org.junit.Test; -public class SoundTest { +public class SoundTest extends AbstractTestingBase { @Test public void testGetSound() { diff --git a/src/test/java/org/bukkit/entity/EntityTypesTest.java b/src/test/java/org/bukkit/entity/EntityTypesTest.java index ce9a098a94..465bc9735e 100644 --- a/src/test/java/org/bukkit/entity/EntityTypesTest.java +++ b/src/test/java/org/bukkit/entity/EntityTypesTest.java @@ -6,10 +6,11 @@ import java.util.stream.Collectors; import net.minecraft.server.EntityTypes; import net.minecraft.server.IRegistry; import net.minecraft.server.MinecraftKey; +import org.bukkit.support.AbstractTestingBase; import org.junit.Assert; import org.junit.Test; -public class EntityTypesTest { +public class EntityTypesTest extends AbstractTestingBase { @Test public void testMaps() {