ConsumablesFirstSetTests: the Djinni has four radiator hardpoints; fit the first

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-10 06:35:44 +02:00
commit b45c6cab35

View file

@ -126,7 +126,7 @@ public sealed class ConsumablesFirstSetTests
Ship = RestoredHullsTests.BuildThrustedShip(Cache, "Djinni");
Zone = Ship.Zone;
var hull = Cache.GetByName<HullData>("Djinni");
var hardpoint = Assert.Single(hull.Hardpoints, h => h.Type == HardpointType.Radiator);
var hardpoint = hull.Hardpoints.First(h => h.Type == HardpointType.Radiator);
var design = Cache.GetAll<GearData>().First(g => hardpoint.IsFilledBy(g) && g.Behaviors.OfType<RadiatorData>().Any());
var item = new EquippableItem
{