fix(card-master): wire EnableServing kill switch in controller + add to config-section test

This commit is contained in:
gamer147
2026-06-12 12:52:06 -04:00
parent b4a279ef0c
commit d0d6a6916c
2 changed files with 13 additions and 3 deletions

View File

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