-
Task
-
Resolution: Unresolved
-
Minor
-
None
-
4.0
-
MOODLE_400_STABLE
In MDL-32103 we added these line for tests:
if (PHPUNIT_TEST) { |
// MDL-33320: for instant completions we need aggregate to work in a single run. |
$DB->set_field('course_completions', 'reaggregate', $timestarted - 2); |
}
|
As we need cron to work on first run. Its safer to do what Behat does at the moment and just run cron twice and wait 1 sec between runs. Not ideal, but at least it is not change completion date by direct sql
- has to be done after
-
MDL-32103 Make course completion instant for activity based completion criteria (single user completions only)
- Closed