Give the overriding variant its own name in the grouping test
A variant must override its name. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
79e9318698
commit
3d07ba0d20
1 changed files with 1 additions and 1 deletions
|
|
@ -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<GroupLeaf>(nameof(GroupLeaf.Hull), GroupHull.Frigate) });
|
||||
await cache.UpsertVariantAsync(new CultRecordKey("over"), baseKey, new[] { cache.Override<GroupLeaf>(nameof(GroupLeaf.Name), "over-name"), cache.Override<GroupLeaf>(nameof(GroupLeaf.Hull), GroupHull.Frigate) });
|
||||
await cache.UpsertVariantAsync(new CultRecordKey("inherit"), baseKey, new[] { cache.Override<GroupLeaf>(nameof(GroupLeaf.Name), "inheritor") });
|
||||
var model = GroupModel();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue