mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-24 17:12:03 +01:00
Fixing the UnitTests
This commit is contained in:
parent
db27a8c627
commit
66c4a24852
@ -5,6 +5,7 @@ import com.earth2me.essentials.api.NoLoanPermittedException;
|
||||
import com.earth2me.essentials.api.UserDoesNotExistException;
|
||||
import java.io.IOException;
|
||||
import junit.framework.TestCase;
|
||||
import org.bukkit.World.Environment;
|
||||
import org.bukkit.plugin.InvalidDescriptionException;
|
||||
import org.junit.Test;
|
||||
|
||||
@ -20,6 +21,7 @@ public class EconomyTest extends TestCase
|
||||
super(testName);
|
||||
ess = new Essentials();
|
||||
final FakeServer server = new FakeServer();
|
||||
server.createWorld("testWorld", Environment.NORMAL);
|
||||
try
|
||||
{
|
||||
ess.setupForTesting(server);
|
||||
|
Loading…
Reference in New Issue
Block a user