From 7e0b950d6349a02a9bca1c2d59cff12c66bea4cf Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 13 Oct 2026 05:14:51 +0200 Subject: [PATCH] LaunchSuppressorTests: activate the beam through its ConstantWeapon type 15b12cb9 does not build: Behavior has no Activate; this commit fixes the one compile error. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/LaunchSuppressorTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Aetheria.Shared.Tests/LaunchSuppressorTests.cs b/tests/Aetheria.Shared.Tests/LaunchSuppressorTests.cs index 795c7189e..6fe939064 100644 --- a/tests/Aetheria.Shared.Tests/LaunchSuppressorTests.cs +++ b/tests/Aetheria.Shared.Tests/LaunchSuppressorTests.cs @@ -213,7 +213,7 @@ public sealed partial class ContactRevealTests foreach (var ship in new[] { paying, twin, control }) { ship.SetTarget(TargetRef.None); - BeamItem(ship).Behaviors.Single(b => b is ConstantWeapon).Activate(); + BeamItem(ship).Behaviors.OfType().Single().Activate(); } var p = CellOf(SuppressorItem(paying, "Suppressor")); var t = CellOf(SuppressorItem(twin, "SuppressorCold"));