-
Bug
-
Resolution: Fixed
-
Minor
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-47814-master -
- Run lib/tests/event_user_graded_test.php
There is a unittest introduced by MDL-40697 that validates that event is triggered for updated quiz grade. As part of MDL-47673 it was discovered that quiz generator had by default 'grade=0' which made it ungradeable. Overwriting the activity grade did not update course total.
Suspiciously only one event count assertion in related unittest core_event_user_graded_testcase::test_event_is_triggered needed fixing.
We need to make sure that additional event is always triggered when course total is also updated.
- is a regression caused by
-
MDL-40697 Add events for when a grade has been created/updated
- Closed