3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

Fix weird test import in EnderDragonPhaseTest

Dieser Commit ist enthalten in:
md_5 2019-04-23 21:28:41 +10:00
Ursprung c088132472
Commit 364b6fbb73

Datei anzeigen

@ -1,6 +1,5 @@
package org.bukkit.entity; package org.bukkit.entity;
import static junit.framework.TestCase.*;
import net.minecraft.server.DragonControllerPhase; import net.minecraft.server.DragonControllerPhase;
import org.bukkit.craftbukkit.entity.CraftEnderDragon; import org.bukkit.craftbukkit.entity.CraftEnderDragon;
import org.junit.Assert; import org.junit.Assert;
@ -12,8 +11,8 @@ public class EnderDragonPhaseTest {
public void testNotNull() { public void testNotNull() {
for (EnderDragon.Phase phase : EnderDragon.Phase.values()) { for (EnderDragon.Phase phase : EnderDragon.Phase.values()) {
DragonControllerPhase dragonControllerPhase = CraftEnderDragon.getMinecraftPhase(phase); DragonControllerPhase dragonControllerPhase = CraftEnderDragon.getMinecraftPhase(phase);
assertNotNull(phase.name(), dragonControllerPhase); Assert.assertNotNull(phase.name(), dragonControllerPhase);
assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase)); Assert.assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase));
} }
} }