review(bp): wire new importers into SeedGlobalsAsync + consistent test orphan Id

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-26 22:36:02 -04:00
parent 61a9133855
commit 44da54c418
2 changed files with 3 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ public class BattlePassRewardImporterTests
await SeedSeason23(db);
db.BattlePassRewards.Add(new SVSim.Database.Models.BattlePassRewardEntry
{
Id = 230_099, // MakeId(23, Normal=0, 99) == 23*10_000 + 0*1_000 + 99
SeasonId = 23, Track = BattlePassTrack.Normal, Level = 99, RewardType = 9,
RewardDetailId = 0, RewardNumber = 9999, IsAppealExclusion = false,
});

View File

@@ -196,6 +196,8 @@ internal sealed class SVSimTestFactory : WebApplicationFactory<Program>
await new AvatarAbilityImporter().ImportAsync(ctx, seedDir);
await new ArenaSeasonImporter().ImportAsync(ctx, seedDir);
await new BattlePassImporter().ImportAsync(ctx, seedDir);
await new BattlePassSeasonImporter().ImportAsync(ctx, seedDir);
await new BattlePassRewardImporter().ImportAsync(ctx, seedDir);
await new DailyLoginBonusImporter().ImportAsync(ctx, seedDir);
await new PreReleaseInfoImporter().ImportAsync(ctx, seedDir);
await new CardListsImporter().ImportAsync(ctx, seedDir);