diff --git a/SVSim.UnitTests/Controllers/TutorialFlowEndToEndTests.cs b/SVSim.UnitTests/Controllers/TutorialFlowEndToEndTests.cs index c50bdb2..fd66747 100644 --- a/SVSim.UnitTests/Controllers/TutorialFlowEndToEndTests.cs +++ b/SVSim.UnitTests/Controllers/TutorialFlowEndToEndTests.cs @@ -20,7 +20,11 @@ public class TutorialFlowEndToEndTests await factory.SeedGlobalsAsync(); // Fresh viewer at PRE_TUTORIAL_STEP (the real prod default after Task 1). + // SeedViewerAsync goes through RegisterViewer (admin/social path) which does NOT + // auto-seed tutorial presents — only the prod /tool/signup -> RegisterAnonymousViewer + // flow does. The end-to-end simulation here needs the inbox populated explicitly. long viewerId = await factory.SeedViewerAsync(tutorialState: 0); + await factory.SeedTutorialPresentsAsync(viewerId); // Pack 99047 (starter legendary) has base_pack_id=90001. Seed the card set used by // the tutorial pack pool resolver — mirrors the pattern in PackControllerTests.