mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
a48504f8fb
Basically the changes imply that: - For some tests that are using reflection, we need to ensure that the backup controller is passed. - And, whenever used explicitly in tests, it has to be destroyed. (note that this leaves out tests running get_package(), because that method now instantiates and destroys the controller by itself. only tests that get a controller need to destroy it). - Move from some old functions to the new ones introduced in the issue.