MDL-74954 core: add Hooks based on PSR-14
This commit is contained in:
@@ -223,6 +223,10 @@ if (PHPUNIT_UTIL) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Make sure the hook manager gets initialised before anybody tries to override callbacks,
|
||||
// this is not using caches intentionally to help with development.
|
||||
\core\hook\manager::get_instance();
|
||||
|
||||
// is database and dataroot ready for testing?
|
||||
list($errorcode, $message) = phpunit_util::testing_ready_problem();
|
||||
// print some version info
|
||||
|
||||
Reference in New Issue
Block a user