Extension:MWUnit/Hooks/MWUnitRestore
Appearance
MWUnitRestore | |
---|---|
Available from version 2.0.0 called when restoring the global state after a test case |
|
Define function: | public static function onMWUnitRestore( BaseTestRunner &$base_test_runner ) { ... }
|
Attach hook: | $wgHooks['MWUnitRestore'][] = 'MyExtensionHooks::onMWUnitRestore';
|
Called from: | File(s): MWUnit / src/Runner/BaseTestRunner.php Function(s): restore |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:MWUnitRestore extensions.