From 3d07ba0d203279caa1bbe24f950ed04a02b31675 Mon Sep 17 00:00:00 2001 From: x Date: Tue, 29 Sep 2026 12:21:28 +0200 Subject: [PATCH] Give the overriding variant its own name in the grouping test A variant must override its name. Co-Authored-By: Claude Sonnet 5 --- tests/GameCult.Caching.Tests/CultInspectorModelTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/GameCult.Caching.Tests/CultInspectorModelTests.cs b/tests/GameCult.Caching.Tests/CultInspectorModelTests.cs index df8f4431..b7bc864e 100644 --- a/tests/GameCult.Caching.Tests/CultInspectorModelTests.cs +++ b/tests/GameCult.Caching.Tests/CultInspectorModelTests.cs @@ -594,7 +594,7 @@ namespace GameCult.Caching.Tests using var cache = OpenGroups(); var baseKey = new CultRecordKey("base"); await PutLeaf(cache, "base", "base", null, GroupHull.Cruiser); - await cache.UpsertVariantAsync(new CultRecordKey("over"), baseKey, new[] { cache.Override(nameof(GroupLeaf.Hull), GroupHull.Frigate) }); + await cache.UpsertVariantAsync(new CultRecordKey("over"), baseKey, new[] { cache.Override(nameof(GroupLeaf.Name), "over-name"), cache.Override(nameof(GroupLeaf.Hull), GroupHull.Frigate) }); await cache.UpsertVariantAsync(new CultRecordKey("inherit"), baseKey, new[] { cache.Override(nameof(GroupLeaf.Name), "inheritor") }); var model = GroupModel();