From 774af2bc4147852df91174fd54a5ff72cb43e890 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Wed, 11 Oct 2023 18:11:15 -0700 Subject: [PATCH] Clean up test for Kill Blordroughs quest achievements --- .../factory/KillBlordroughsAchievementFactoryTest.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/games/stendhal/server/core/rp/achievement/factory/KillBlordroughsAchievementFactoryTest.java b/tests/games/stendhal/server/core/rp/achievement/factory/KillBlordroughsAchievementFactoryTest.java index a0e4cfab9eb..90bb80a1307 100644 --- a/tests/games/stendhal/server/core/rp/achievement/factory/KillBlordroughsAchievementFactoryTest.java +++ b/tests/games/stendhal/server/core/rp/achievement/factory/KillBlordroughsAchievementFactoryTest.java @@ -37,16 +37,13 @@ import org.junit.Test; import games.stendhal.server.core.rp.StendhalQuestSystem; -import games.stendhal.server.core.rp.achievement.AchievementNotifier; import games.stendhal.server.entity.npc.ConversationStates; import games.stendhal.server.entity.npc.SpeakerNPC; import games.stendhal.server.entity.npc.condition.QuestActiveCondition; import games.stendhal.server.entity.npc.fsm.Engine; import games.stendhal.server.entity.player.Player; -import games.stendhal.server.maps.MockStendlRPWorld; import games.stendhal.server.maps.ados.barracks.BuyerNPC; import games.stendhal.server.maps.quests.KillBlordroughs; -import marauroa.server.game.db.DatabaseFactory; import utilities.AchievementTestHelper; import utilities.PlayerTestHelper; import utilities.ZonePlayerAndNPCTestImpl; @@ -76,10 +73,7 @@ public class KillBlordroughsAchievementFactoryTest extends ZonePlayerAndNPCTestI @BeforeClass public static void setUpBeforeClass() throws Exception { - new DatabaseFactory().initializeDatabase(); - // initialize world - MockStendlRPWorld.get(); - AchievementNotifier.get().initialize(); + AchievementTestHelper.setUpBeforeClass(); } @AfterClass