Skip to content

Commit

Permalink
Clean up test for Kill Blordroughs quest achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Oct 12, 2023
1 parent 0f489c3 commit 774af2b
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 774af2b

Please sign in to comment.