From b512186fce9f572a15d80a46c30157ffa604dc61 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Wed, 31 May 2023 20:29:06 +0800 Subject: [PATCH] MDL-77547 behat: run recalculate task before checking values --- question/bank/statistics/tests/behat/statistics_values.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/question/bank/statistics/tests/behat/statistics_values.feature b/question/bank/statistics/tests/behat/statistics_values.feature index 8351ac0141f..d14f3cd370e 100644 --- a/question/bank/statistics/tests/behat/statistics_values.feature +++ b/question/bank/statistics/tests/behat/statistics_values.feature @@ -207,6 +207,7 @@ Feature: Show statistics in question bank | 3 | Two | | 4 | Two | | 5 | One | + And I run the scheduled task "\quiz_statistics\task\recalculate" # Confirm the "Needs checking?" column matches the expected values based on students' answers When I am on the "Quiz 3" "mod_quiz > question bank" page logged in as "admin" Then the following should exist in the "categoryquestions" table: