[MIRROR] Unit Tests use a consistent human subtype [MDB IGNORE] (#17772)

* Unit Tests use a consistent human subtype

* sr dummy

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
This commit is contained in:
SkyratBot
2022-11-28 13:50:05 -05:00
committed by GitHub
co-authored by Zephyr tastyfish
parent 9f3ebb04cb
commit 2127bb5c61
45 changed files with 126 additions and 102 deletions
+3 -3
View File
@@ -5,9 +5,9 @@
/datum/unit_test/operating_table/Run()
var/obj/structure/table/optable/table = allocate(/obj/structure/table/optable)
var/mob/living/carbon/human/human = allocate(/mob/living/carbon/human, get_step(table, NORTH))
var/mob/living/carbon/human/replacement_human = allocate(/mob/living/carbon/human, get_step(table, NORTH))
var/mob/living/carbon/human/human = allocate(/mob/living/carbon/human/consistent, get_step(table, NORTH))
var/mob/living/carbon/human/replacement_human = allocate(/mob/living/carbon/human/consistent, get_step(table, NORTH))
// Resting is a bit more high level than bodypos, gets us nicer coverage.
human.set_resting(new_resting = FALSE, instant = TRUE)
replacement_human.set_resting(new_resting = FALSE, instant = TRUE)