From 2edb9a10c66f3112699d7e79705ad33c9632dbe7 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sat, 16 Jul 2011 02:45:12 +0200 Subject: [PATCH] Fixing the UnitTests --- Essentials/test/com/earth2me/essentials/EconomyTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Essentials/test/com/earth2me/essentials/EconomyTest.java b/Essentials/test/com/earth2me/essentials/EconomyTest.java index ff9a6b6b7..219d68b40 100644 --- a/Essentials/test/com/earth2me/essentials/EconomyTest.java +++ b/Essentials/test/com/earth2me/essentials/EconomyTest.java @@ -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);