Remove 'UnitTestList' hook

No longer needed now that extension unittests are autodiscovered.

Bug: T142120
Bug: T142121
Change-Id: I08e3fdf24481a0404c2bf9822d5d02b815cb2e76
This commit is contained in:
Reedy 2016-08-05 17:51:58 +01:00 committed by Jforrester
parent fda31a802f
commit b8d6ba165b
2 changed files with 0 additions and 16 deletions

View File

@ -356,19 +356,6 @@ class MathHooks {
return true;
}
/**
* Links to the unit test files for the test cases.
*
* @param string $files
* @return boolean (true)
*/
static function onRegisterUnitTests( &$files ) {
$testDir = __DIR__ . '/tests/';
$files = array_merge( $files, glob( "$testDir/*Test.php" ) );
return true;
}
/**
* @param Parser $parser
* @param $text

View File

@ -54,9 +54,6 @@
"ParserTestTables": [
"MathHooks::onParserTestTables"
],
"UnitTestsList": [
"MathHooks::onRegisterUnitTests"
],
"PageRenderingHash": [
"MathHooks::onPageRenderingHash"
],