From 095baf2fb5e5f8b9ec5c181f37a34d805a752bd4 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 18 Oct 2026 17:57:23 +0200 Subject: [PATCH] RunGoalTests: product Design refs are CraftedItemData refs Co-Authored-By: Claude Sonnet 5.5 --- tests/Aetheria.Shared.Tests/RunGoalTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/RunGoalTests.cs b/tests/Aetheria.Shared.Tests/RunGoalTests.cs index cbb7ac13b..541ee64dd 100644 --- a/tests/Aetheria.Shared.Tests/RunGoalTests.cs +++ b/tests/Aetheria.Shared.Tests/RunGoalTests.cs @@ -65,7 +65,7 @@ public sealed partial class RunStartTests { var product = Copy(likeProduct); product.Name = $"{name} by {maker.Name}"; - product.Design = bossRef; + product.Design = new CultRecordRef(bossRef.Key); product.Manufacturer = _cache.RefOf(maker); _cache.Upsert(product); } @@ -94,7 +94,7 @@ public sealed partial class RunStartTests // The faction also makes the dearest ordinary hull, and three Boss hulls: B and A tie on price, C is cheaper. The boss // is the dearest Boss hull, ties by name: not the dearest hull it makes, not the first product, not the cheapest. - _cache.Upsert(new FactionProductData { Name = "Decoy", Design = _cache.RefOf(priciest), Manufacturer = _cache.RefOf(antagonist) }); + _cache.Upsert(new FactionProductData { Name = "Decoy", Design = new CultRecordRef(_cache.RefOf(priciest).Key), Manufacturer = _cache.RefOf(antagonist) }); MakeBoss("Boss B", cheapest + 10, antagonist); MakeBoss("Boss C", cheapest, antagonist); MakeBoss("Boss A", cheapest + 10, antagonist);