From 5a7ab7944b7670d626e3b71535ab72a1d4c807d1 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 17 Oct 2026 07:10:54 +0200 Subject: [PATCH] EW 3 tests: add the Forbid helper the previous commit referenced (8a779b3a does not build) Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/ContactRevealTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Aetheria.Shared.Tests/ContactRevealTests.cs b/tests/Aetheria.Shared.Tests/ContactRevealTests.cs index 65676bfd4..69ec819ad 100644 --- a/tests/Aetheria.Shared.Tests/ContactRevealTests.cs +++ b/tests/Aetheria.Shared.Tests/ContactRevealTests.cs @@ -1758,6 +1758,9 @@ public sealed partial class ContactRevealTests : IDisposable Assert.Equal(hostile, o.IsHostileTo(e)); } + // The zone owner does not permit `e` here. Set directly: Update re-derives the security level from the ship's location. + private static void Forbid(Entity e) => e.PresencePermitted = UniRx.Observable.Return(false).ToReadOnlyReactiveProperty(); + // Ruling ew-telemetry-with-the-track: a contact held by a bearing only has no allegiance; it gets one at its first track. [Fact] public void ABearingOnlyContactHasNoAllegiance()