diff --git a/tests/Aetheria.Shared.Tests/StationKindTests.cs b/tests/Aetheria.Shared.Tests/StationKindTests.cs index a30221d48..777f4fb92 100644 --- a/tests/Aetheria.Shared.Tests/StationKindTests.cs +++ b/tests/Aetheria.Shared.Tests/StationKindTests.cs @@ -73,6 +73,13 @@ public sealed class StationKindTests : IDisposable world.Lucent = cache.GetAll().Single(f => f.ShortName == "Lucent"); world.Zenith = cache.GetAll().Single(h => h.Name == "Zenith"); world._zenithProduct = cache.GetAll().Single(p => cache.Get(p.Design) == world.Zenith); + // Station packages composed into the catalog (the Arsenal Depot) are off the market too: these worlds hold only the station + // hulls a test adds, and the depot's offer would make every depot stand-in live (StationPackageTests owns that). + foreach (var product in cache.GetAll().Where(p => cache.Get(p.Design) is HullData { HullType: HullType.Station } h && h.Visual.IsSet()).ToArray()) + { + product.NotOffered = true; + cache.Upsert(product); + } if (!zenithOffered) { world._zenithProduct.NotOffered = true;