mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-11 10:17:38 +00:00
tests: Remove stub server (#1629)
This commit is contained in:
parent
c5d70f0da1
commit
340f8dded3
worldedit-bukkit/src/test/java/com
File diff suppressed because it is too large
Load Diff
@ -19,9 +19,7 @@
|
||||
|
||||
package com.sk89q.worldedit.bukkit;
|
||||
|
||||
import com.fastasyncworldedit.util.StubServer;
|
||||
import com.sk89q.worldedit.util.TreeGenerator;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
@ -30,9 +28,6 @@ public class BukkitWorldTest {
|
||||
|
||||
@Test
|
||||
public void testTreeTypeMapping() {
|
||||
// FAWE start - server implementation required because of LOGGER#warn in BukkitWorld.java
|
||||
Bukkit.setServer(new StubServer());
|
||||
// FAWE end
|
||||
for (TreeGenerator.TreeType type : TreeGenerator.TreeType.values()) {
|
||||
assertNotNull(BukkitWorld.toBukkitTreeType(type), "No mapping for: " + type);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user