ConsumablesFirstSetTests: call the validator by its real owner (CultRecordRefs.Validate)

The previous commit, 51b8ecf7, does not build (AetheriaStores.Validate does not exist); this one does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-10 06:27:36 +02:00
commit c321e84702

View file

@ -84,7 +84,7 @@ public sealed class ConsumablesFirstSetTests
foreach (var design in new[] { overdrive, vent })
{
AetheriaStores.Validate(design); // every modifier resolves and every role a stat reads is declared
CultRecordRefs.Validate(design); // every modifier resolves and every role a stat reads is declared
Assert.True(design.SpecificHeat > 0f && design.Conductivity > 0f);
var products = cache.GetAll<FactionProductData>().Where(p => p.Design.Key.Equals(cache.RefOf(design).Key)).ToArray();