Fix some tests randomly failing

This commit is contained in:
md_5 committed 2018-08-26 20:44:50 +10:00
1 parent 997d378dab
commit d0bb0a1d7e
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -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() {
@@ -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() {