test(config): update section count from 10 → 11 (ArenaTwoPick)

This commit is contained in:
gamer147
2026-05-31 11:27:56 -04:00
parent 09b8c49743
commit 65e0e0fb09

View File

@@ -25,13 +25,13 @@ public class GameConfigurationJsonbTests
var rows = await db.GameConfigs.AsNoTracking().ToListAsync();
var byName = rows.ToDictionary(r => r.SectionName);
// One row per [ConfigSection]-marked POCO (10 sections today: Player, DefaultGrants,
// One row per [ConfigSection]-marked POCO (11 sections today: Player, DefaultGrants,
// DefaultLoadout, Challenge, Rotation, PackRates, MyRotationSchedule, Story, ResourceConfig,
// Freeplay).
// Freeplay, ArenaTwoPick).
Assert.That(byName.Keys, Is.EquivalentTo(new[]
{
"Player", "DefaultGrants", "DefaultLoadout", "Challenge", "Rotation", "PackRates",
"MyRotationSchedule", "Story", "ResourceConfig", "Freeplay",
"MyRotationSchedule", "Story", "ResourceConfig", "Freeplay", "ArenaTwoPick",
}));
var resources = JsonSerializer.Deserialize<ResourceConfig>(byName["ResourceConfig"].ValueJson)!;