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:
parent
7a882b626b
commit
c321e84702
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue