Fixed quest tests not using the correct startup procedure
This commit is contained in:
@@ -4,7 +4,12 @@ import org.junit.jupiter.api.Assertions
|
|||||||
import org.junit.jupiter.api.Test
|
import org.junit.jupiter.api.Test
|
||||||
|
|
||||||
class QuestTests {
|
class QuestTests {
|
||||||
val testPlayer = TestUtils.getMockPlayer("test")
|
lateinit var testPlayer: MockPlayer
|
||||||
|
init {
|
||||||
|
TestUtils.preTestSetup()
|
||||||
|
testPlayer = TestUtils.getMockPlayer("test")
|
||||||
|
}
|
||||||
|
|
||||||
class TestQuest : Quest("Test Quest", 0, 0, 1, 1, 0, 1, 2) {
|
class TestQuest : Quest("Test Quest", 0, 0, 1, 1, 0, 1, 2) {
|
||||||
override fun newInstance(`object`: Any?): Quest {
|
override fun newInstance(`object`: Any?): Quest {
|
||||||
return this
|
return this
|
||||||
|
|||||||
Reference in New Issue
Block a user