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:
@@ -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,
|
||||
});
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user