From c23390c76e68a7634aa0e94448dc8b05bedfae54 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 16 Oct 2026 20:01:52 +0200 Subject: [PATCH] CatalogRoleTests: the mine launcher's renamed brand is found by name among its sellers Tripwire is a second seller of the Mine Launcher; the test asserted the design had a single product. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/CatalogRoleTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Aetheria.Shared.Tests/CatalogRoleTests.cs b/tests/Aetheria.Shared.Tests/CatalogRoleTests.cs index d7364b15f..0a452491f 100644 --- a/tests/Aetheria.Shared.Tests/CatalogRoleTests.cs +++ b/tests/Aetheria.Shared.Tests/CatalogRoleTests.cs @@ -191,7 +191,7 @@ public sealed class CatalogRoleTests var mine = Assert.Single(cache.GetAll(), d => cache.RefOf(d).Key.Value == "1b4a2bb358eb432eb1cfc0ccf3317303"); Assert.Equal("Mine Launcher", mine.Name); Assert.Equal("Lays a drifting proximity mine that arms after two seconds.", mine.Description); - var brand = Assert.Single(cache.GetAll(), p => p.Design.Key.Equals(cache.RefOf(mine).Key)); + var brand = Assert.Single(cache.GetAll(), p => p.Design.Key.Equals(cache.RefOf(mine).Key) && p.Name == "parting gift"); Assert.Equal("parting gift", brand.Name); Assert.Equal("DME", cache.Get(brand.Manufacturer).ShortName); }