v2.4.2 patch2
Build and publish Jiaowu packages and container image / Test, package and publish (push) Failing after 12m23s
Build and publish Jiaowu packages and container image / Test, package and publish (push) Failing after 12m23s
This commit is contained in:
1 parent
16f4849f62
commit
713692abbd
2 files changed
+14
No files matched your search
@@ -124,6 +124,15 @@ public sealed class CourseGradeStatisticsRefreshSchedulerTests
|
||||
db.TeachingTaskGradeStatistics.AddRange(
|
||||
FreshStatistic(firstSheet, course, term),
|
||||
FreshStatistic(secondSheet, course, term));
|
||||
db.StudentAcademicStatistics.Add(new StudentAcademicStatistic
|
||||
{
|
||||
StudentId = student.Id,
|
||||
CourseCount = 2,
|
||||
Gpa = 3m,
|
||||
WeightedAverageScore = 85m,
|
||||
AverageScore = 85m,
|
||||
CalculatedAt = DateTime.UtcNow.AddMinutes(1)
|
||||
});
|
||||
await db.SaveChangesAsync();
|
||||
|
||||
var queuedAfterFreshStatistics = await scheduler.EnqueueStaleAsync(
|
||||
|
||||
Reference in new issue
Block a user