From feee6e7c09ca526d6e8f1b14d2823b2ce34279c5 Mon Sep 17 00:00:00 2001 From: gamer147 Date: Mon, 8 Jun 2026 20:51:42 -0400 Subject: [PATCH] =?UTF-8?q?test(tutorial-e2e):=20seed=20tutorial=20present?= =?UTF-8?q?s=20=E2=80=94=20RegisterViewer=20no=20longer=20auto-seeds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SVSim.UnitTests/Controllers/TutorialFlowEndToEndTests.cs | 4 ++++ 1 file changed, 4 insertions(+) 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.