Remove 'UnitTestList' hook

No longer needed now that extension unittests are autodiscovered.

Bug: T142120
Bug: T142121
Change-Id: I075b7f6b5e11ead988b0baba5d85745dbb9ac480
This commit is contained in:
Reedy 2016-08-05 21:24:45 +01:00
parent aa216dcf68
commit adf6a2edc8
3 changed files with 0 additions and 12 deletions

View file

@ -50,15 +50,6 @@ class ParserFunctionsHooks {
return true;
}
/**
* @param $files array
* @return bool
*/
public static function onUnitTestsList( &$files ) {
$files[] = __DIR__ . '/tests/ExpressionTest.php';
return true;
}
public static function onScribuntoExternalLibraries( $engine, array &$extraLibraries ) {
if ( $engine === 'lua' ) {
$extraLibraries['mw.ext.ParserFunctions'] = 'Scribunto_LuaParserFunctionsLibrary';

View file

@ -31,9 +31,6 @@
"ParserFirstCallInit": [
"ParserFunctionsHooks::onParserFirstCallInit"
],
"UnitTestsList": [
"ParserFunctionsHooks::onUnitTestsList"
],
"ScribuntoExternalLibraries": [
"ParserFunctionsHooks::onScribuntoExternalLibraries"
]