From b204f1aba6138bfc793d384e93edce947501ffcc Mon Sep 17 00:00:00 2001 From: rmmayo Date: Mon, 1 Jul 2024 15:45:12 +0000 Subject: [PATCH] #2490 - fix random test failures based on timing --- .../java/skills/intTests/quiz/QuizSkillAchievementsSpecs.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/test/java/skills/intTests/quiz/QuizSkillAchievementsSpecs.groovy b/service/src/test/java/skills/intTests/quiz/QuizSkillAchievementsSpecs.groovy index aa117176ee..29baa35b44 100644 --- a/service/src/test/java/skills/intTests/quiz/QuizSkillAchievementsSpecs.groovy +++ b/service/src/test/java/skills/intTests/quiz/QuizSkillAchievementsSpecs.groovy @@ -1102,7 +1102,7 @@ class QuizSkillAchievementsSpecs extends QuizSkillAchievementsBaseIntSpec { userEvents_t1[0].projectId == proj.projectId userEvents_t1[0].skillRefId == skillRefId userEvents_t1[0].eventTime.time == StartDateUtil.computeStartDate(userQuizAttempt.completed, EventType.DAILY).time - userEvents_t1[0].weekNumber == WeekNumberUtil.getWeekNumber(userQuizAttempt.completed) + userEvents_t1[0].weekNumber == WeekNumberUtil.getWeekNumber(StartDateUtil.computeStartDate(userQuizAttempt.completed, EventType.DAILY)) userEvents_t1[0].eventType == EventType.DAILY }