Since the introduction of the new hooks stystem, it is not possible to clear all hooks by setting $wgHooks. This would only clear old-style hooks. This is becoming increasingly problematic as the new hooks system is adopted by more and more extensions. Introduce a method that allows tests to reset many or all hooks. This isn't needed much in core, but extension tests need it. Change-Id: Ica3eb88fe23fe822d2aadb96ff5d15f80dce0d7b |
||
|---|---|---|
| .. | ||
| DeprecatedHooksTest.php | ||
| GlobalHookRegistryTest.php | ||
| HookContainerTest.php | ||
| HookRunnerTest.php | ||
| HookRunnerTestBase.php | ||
| StaticHookRegistryTest.php | ||