Details
-
Bug
-
Status: Waiting for component lead review
-
Minor
-
Resolution: Unresolved
-
3.7, 3.9.7, 3.9.14, 3.10.11, 3.11.7, 4.0.1
-
None
Description
Mail digest tests collect all records from the task_adhoc table. Other plugins (enrol_auto, enrol_coursecompleted, format_tiles, ...) also add records to this table, so the queries in this test have to be limited to this component only.
Replication steps:
- Install a plugin that creates an adhoc task upon an event (enrol_auto, enrol_coursecompleted, format_tiles, ...)
- Run php unit tests
Expected: No errors
Actual: 2 errors assertGreaterThanOrEqual(time(), $task->nextruntime)
Attachments
Issue Links
- is a regression caused by
-
MDL-65695 Daily digest time set for time in the past
-
- Closed
-