From c7c56e152c63ae6761044dc1dd3c46f3d8f8a81b Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 6 Oct 2026 19:39:16 +0200 Subject: [PATCH] Demo Terminus tests: the Pirates fixture carries a name file, as generating zone names needs one Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/DemoTerminusTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs b/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs index b03a70e29..03a1bb123 100644 --- a/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs +++ b/tests/Aetheria.Shared.Tests/DemoTerminusTests.cs @@ -15,7 +15,10 @@ public sealed partial class RunStartTests private static readonly uint[] DemoSeeds = { 1, 2, 3, 4, 5 }; // The catalog record the demo's protagonist needs, until the shipped catalog has one. - private void AddPirates() => _cache.Upsert(new Faction { Name = "Pirates", ShortName = "Pirates" }); + private void AddPirates() => _cache.Upsert(new Faction + { + Name = "Pirates", ShortName = "Pirates", GeonameFile = _cache.RefOf(_cache.GetAll().First()) + }); private Galaxy DemoGalaxy(uint seed) => RunStart.Generate(new DemoTerminus(), Inputs(() => seed));