MDL-81456 core: Stop injecting test data into real hook manager
This commit is contained in:
@@ -112,9 +112,6 @@ class phpunit_util extends testing_util {
|
||||
// Stop all hook redirections.
|
||||
di::get(hook\manager::class)->phpunit_stop_redirections();
|
||||
|
||||
// Reset the hook manager instance.
|
||||
\core\hook\manager::phpunit_reset_instance();
|
||||
|
||||
// Stop any message redirection.
|
||||
self::stop_message_redirection();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user