test(learning): seed authoritative shared question answers
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user