mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-12 01:41:05 +01:00
Fix weird test import in EnderDragonPhaseTest
This commit is contained in:
parent
c088132472
commit
364b6fbb73
1 changed files with 2 additions and 3 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue