Seeding reorg

This commit is contained in:
gamer147
2026-05-24 21:13:15 -04:00
parent 34bcc579a5
commit c14408ba06
73 changed files with 4611 additions and 369716 deletions

View File

@@ -206,18 +206,9 @@ public class GlobalsRepositoryTests
Assert.That(skins.Count, Is.EqualTo(8));
}
[Test]
public async Task GetGameConfiguration_default_has_seeded_ts_rotation_id()
{
var (factory, repo) = await SetupAsync();
using var _ = factory;
var cfg = await repo.GetGameConfiguration("default");
Assert.That(cfg, Is.Not.Null);
Assert.That(cfg.Config.Rotation.TsRotationId, Is.EqualTo("10015"),
"GlobalsImporter should overwrite the migration's empty-string default with the capture value.");
Assert.That(cfg.Config.Rotation.IsBattlePassPeriod, Is.True,
"Prod sends bool true for is_battle_pass_period; capture should overwrite the migration default of false.");
}
// Note: GetGameConfiguration was removed from IGlobalsRepository in the 2026-05-24 config
// refactor — Rotation/Challenge/etc. now load via IGameConfigService. See
// GameConfigurationJsonbTests for the equivalent round-trip coverage.
[Test]
public async Task GetMaintenanceCards_empty_when_capture_has_none()