From 772bb7ea695bdd082a2e557dc9a48193eee8071b Mon Sep 17 00:00:00 2001 From: Angen Date: Sun, 19 Jul 2020 11:01:22 +0000 Subject: [PATCH] Fix tests after eec47157ad sorry This was SVN commit r23852. --- .../mods/public/simulation/components/tests/test_UnitAI.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/binaries/data/mods/public/simulation/components/tests/test_UnitAI.js b/binaries/data/mods/public/simulation/components/tests/test_UnitAI.js index dea486db6d..c7ee0a110a 100644 --- a/binaries/data/mods/public/simulation/components/tests/test_UnitAI.js +++ b/binaries/data/mods/public/simulation/components/tests/test_UnitAI.js @@ -176,6 +176,7 @@ function TestFormationExiting(mode) "MoveToTargetRange": (target, min, max) => true, "StopMoving": () => {}, "SetFacePointAfterMove": () => {}, + "GetFacePointAfterMove": () => true, "GetPassabilityClassName": () => "default" }); @@ -231,6 +232,7 @@ function TestFormationExiting(mode) "SetSpeedMultiplier": () => {}, "MoveToPointRange": () => true, "SetFacePointAfterMove": () => {}, + "GetFacePointAfterMove": () => true, "GetPassabilityClassName": () => "default" }); @@ -336,6 +338,7 @@ function TestMoveIntoFormationWhileAttacking() "MoveToTargetRange": (target, min, max) => true, "StopMoving": () => {}, "SetFacePointAfterMove": () => {}, + "GetFacePointAfterMove": () => true, "GetPassabilityClassName": () => "default" }); @@ -383,6 +386,7 @@ function TestMoveIntoFormationWhileAttacking() "MoveToPointRange": (x, z, minRange, maxRange) => {}, "StopMoving": () => {}, "SetFacePointAfterMove": () => {}, + "GetFacePointAfterMove": () => true, "GetPassabilityClassName": () => "default" });