summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-26 20:44:50 +1000
committermd_5 <git@md-5.net>2018-08-26 20:44:50 +1000
commitd0bb0a1d7e4471d06456d69981fd48b6ab489b59 (patch)
tree3287cc6d4da2882fb63cdd4ff690b92c5fa86475 /src
parent997d378dab9ca7af9d98e6dcd99ccbd14aefe3f5 (diff)
downloadcraftbukkit-d0bb0a1d7e4471d06456d69981fd48b6ab489b59.tar
craftbukkit-d0bb0a1d7e4471d06456d69981fd48b6ab489b59.tar.gz
craftbukkit-d0bb0a1d7e4471d06456d69981fd48b6ab489b59.tar.lz
craftbukkit-d0bb0a1d7e4471d06456d69981fd48b6ab489b59.tar.xz
craftbukkit-d0bb0a1d7e4471d06456d69981fd48b6ab489b59.zip
Fix some tests randomly failing
Diffstat (limited to 'src')
-rw-r--r--src/test/java/org/bukkit/SoundTest.java3
-rw-r--r--src/test/java/org/bukkit/entity/EntityTypesTest.java3
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 a2bb73f0..da8c3dcb 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 ce9a098a..465bc973 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() {