diff --git a/UPGRADING.md b/UPGRADING.md index 17fdaca2317..a55442e974d 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -49,6 +49,20 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt For more information see [MDL-82809](https://tracker.moodle.org/browse/MDL-82809) +### mod_quiz + +#### Changed + +- The `\mod_quiz\attempt_walkthrough_from_csv_test` unit test has been marked as final and should not be extended by other tests. + + All shared functionality has been moved to a new autoloadable test-case: + `\mod_quiz\tests\attempt_walkthrough_testcase`. + + To support this testcase the existing `$files` instance property should be replaced with a new static method, `::get_test_files`. + Both the existing instance property and the new static method can co-exist. + + For more information see [MDL-81521](https://tracker.moodle.org/browse/MDL-81521) + ## 4.5 ### core diff --git a/mod/quiz/UPGRADING.md b/mod/quiz/UPGRADING.md index c5eb504e647..efef86a8b61 100644 --- a/mod/quiz/UPGRADING.md +++ b/mod/quiz/UPGRADING.md @@ -1,5 +1,19 @@ # mod_quiz Upgrade notes +## 4.5+ + +### Changed + +- The `\mod_quiz\attempt_walkthrough_from_csv_test` unit test has been marked as final and should not be extended by other tests. + + All shared functionality has been moved to a new autoloadable test-case: + `\mod_quiz\tests\attempt_walkthrough_testcase`. + + To support this testcase the existing `$files` instance property should be replaced with a new static method, `::get_test_files`. + Both the existing instance property and the new static method can co-exist. + + For more information see [MDL-81521](https://tracker.moodle.org/browse/MDL-81521) + ## 4.5 ### Added