Fix failed tests
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ target/
|
||||
*.secret
|
||||
*.db
|
||||
nbactions.xml
|
||||
stargate.iml
|
||||
|
@@ -26,6 +26,7 @@ public class GateLayoutTest {
|
||||
public static void setUp() {
|
||||
ServerMock server = MockBukkit.mock();
|
||||
server.addWorld(new WorldMock(Material.DIRT, 5));
|
||||
System.setProperty("bstats.relocatecheck", "false");
|
||||
MockBukkit.load(Stargate.class);
|
||||
layout = GateHandler.getGateByName("nethergate.gate").getLayout();
|
||||
}
|
||||
|
Reference in New Issue
Block a user