From c1b83e84e555ba47ff502d10a6a6941803ef7305 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 8 Oct 2026 18:31:32 +0200 Subject: [PATCH] FlightTests: the combat transition tests give the pilot a track it sees Entity clears a target its pilot does not see; the earlier commit set one without perception, so the pilot never entered combat. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/FlightTests.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/FlightTests.cs b/tests/Aetheria.Shared.Tests/FlightTests.cs index 3920ac54d..ec01153ea 100644 --- a/tests/Aetheria.Shared.Tests/FlightTests.cs +++ b/tests/Aetheria.Shared.Tests/FlightTests.cs @@ -564,7 +564,9 @@ public sealed class FlightTests : IDisposable var ship = Pilot(null); var minion = PatrollingMinion(ship); - ship.SetTarget(new TargetRef(Track())); + var track = Track(); + See(ship, track); + ship.SetTarget(new TargetRef(track)); minion.Update(.1f); Assert.IsType(CurrentState(minion)); @@ -580,7 +582,9 @@ public sealed class FlightTests : IDisposable { var ship = Pilot(null); var minion = PatrollingMinion(ship); - ship.SetTarget(new TargetRef(Track())); + var track = Track(); + See(ship, track); + ship.SetTarget(new TargetRef(track)); for (var i = 0; i < 5; i++) {