Fix some tests randomly failing

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

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() {

View File

@ -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() {