forked from 2009Scape/Server
Fixed quest tests not using the correct startup procedure
This commit is contained in:
parent
604925f513
commit
c23051db93
1 changed files with 6 additions and 1 deletions
|
|
@ -4,7 +4,12 @@ import org.junit.jupiter.api.Assertions
|
|||
import org.junit.jupiter.api.Test
|
||||
|
||||
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) {
|
||||
override fun newInstance(`object`: Any?): Quest {
|
||||
return this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue