mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 19:35:10 -06:00
Remove ailing test that I inherited from an earlier version of dam's movement MR
This commit is contained in:
parent
e85d81157f
commit
f2456b676f
1 changed files with 0 additions and 16 deletions
|
|
@ -112,22 +112,6 @@ class PathfinderTests {
|
|||
}
|
||||
}
|
||||
|
||||
@Test fun entityTargetMovementPulseShouldTolerateMissingTargetLocation() {
|
||||
TestUtils.getMockPlayer("missingtargetloc").use { p ->
|
||||
p.location = ServerConstants.HOME_LOCATION
|
||||
val npc = NPC.create(0, NPC_TEST_LOC)
|
||||
npc.setLocation(null)
|
||||
|
||||
val pulse = object : MovementPulse(p, npc) {
|
||||
override fun pulse(): Boolean {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Assertions.assertDoesNotThrow { pulse.update() }
|
||||
}
|
||||
}
|
||||
|
||||
@Test fun entityTargetMovementPulseShouldNotStopOnSameTileAsEntity() {
|
||||
TestUtils.getMockPlayer("entitystoptest").use {p ->
|
||||
p.location = ServerConstants.HOME_LOCATION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue