From c82b28851aec92d9eb990aa6ed0a00c09806808a Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 6 Oct 2026 22:49:57 +0200 Subject: [PATCH] StationServices tests: a full first station bay does not refuse a sale; worn docking bays are mended Kills the two survivors Stryker left in StationServices.cs: Any() to All() over the station's bays, and Concat() to Except() over the docking bays. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/StationServicesTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Aetheria.Shared.Tests/StationServicesTests.cs b/tests/Aetheria.Shared.Tests/StationServicesTests.cs index b8120feb4..f74214264 100644 --- a/tests/Aetheria.Shared.Tests/StationServicesTests.cs +++ b/tests/Aetheria.Shared.Tests/StationServicesTests.cs @@ -31,6 +31,7 @@ public sealed class StationServicesTests : IDisposable var bay = new Shape(4, 4); foreach (var cell in bay.AllCoordinates) bay[cell] = true; _cache.Upsert(new CargoBayData { Name = "Crate", Shape = new Shape(), InteriorShape = bay, Price = 20, Durability = 4 }); + _cache.Upsert(new DockingBayData { Name = "Berth", Shape = new Shape(), InteriorShape = bay, MaxSize = new int2(2, 2), Price = 60, Durability = 6 }); _cache.Upsert(new SimpleCommodityData { Name = "Ore", Shape = new Shape(), Price = 7, MaxStack = 100 }); _cache.FlushAsync().Wait();