From 684f4c2f81d8f7be1684e8a960e43f25fc66027f Mon Sep 17 00:00:00 2001 From: xiong Date: Mon, 3 Aug 2026 09:54:27 +0800 Subject: [PATCH] test(learning): seed authoritative shared question answers --- Tiku.IntegrationTests/PhaseThreeTenantIsolationTests.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Tiku.IntegrationTests/PhaseThreeTenantIsolationTests.cs b/Tiku.IntegrationTests/PhaseThreeTenantIsolationTests.cs index 031877e..4079e35 100644 --- a/Tiku.IntegrationTests/PhaseThreeTenantIsolationTests.cs +++ b/Tiku.IntegrationTests/PhaseThreeTenantIsolationTests.cs @@ -260,7 +260,8 @@ public sealed class PhaseThreeTenantIsolationTests TenantId = platformId, QuestionId = platformQuestionId, VersionNo = 1, - Content = "platform-v1" + Content = "platform-v1", + CorrectOptionIndex = 0 }); await factory.SeedQuestionWithVersionAsync( new Question @@ -276,7 +277,8 @@ public sealed class PhaseThreeTenantIsolationTests TenantId = tenantId, QuestionId = privateQuestionId, VersionNo = 1, - Content = "private-v1" + Content = "private-v1", + CorrectOptionIndex = 0 }); await factory.SeedAsync( new TenantQuestionReference @@ -338,7 +340,8 @@ public sealed class PhaseThreeTenantIsolationTests TenantId = platformId, QuestionId = platformQuestionId, VersionNo = 2, - Content = "platform-v2" + Content = "platform-v2", + CorrectOptionIndex = 0 }); using (var scope = factory.CreateSystemScope("Publish platform question V2")) {