forked from gongxuegit/tiku-backend.net
feat: establish dotnet engineering foundation
This commit is contained in:
@@ -62,7 +62,11 @@ public sealed class ProfileEndpointTests
|
||||
var seed = await SeedStudentAsync(factory);
|
||||
var regionId = Guid.NewGuid();
|
||||
var schoolId = Guid.NewGuid();
|
||||
var otherRegionId = Guid.NewGuid();
|
||||
await factory.SeedAsync(
|
||||
new Region { Id = regionId, TenantId = seed.TenantId, Name = "四川" },
|
||||
new Region { Id = otherRegionId, TenantId = seed.TenantId, Name = "其他地区" },
|
||||
new School { Id = schoolId, TenantId = seed.TenantId, RegionId = regionId, Name = "美术学院" },
|
||||
new StudentProfile
|
||||
{
|
||||
TenantId = seed.TenantId,
|
||||
@@ -81,7 +85,7 @@ public sealed class ProfileEndpointTests
|
||||
new ExamDate
|
||||
{
|
||||
TenantId = seed.TenantId,
|
||||
RegionId = Guid.NewGuid(),
|
||||
RegionId = otherRegionId,
|
||||
ExamName = "其他地区考试",
|
||||
ExamAt = DateTimeOffset.UtcNow.AddDays(1)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user