mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-13 18:26:59 +00:00
Remove 'UnitTestList' hook
No longer needed now that extension unittests are autodiscovered. Bug: T142120 Change-Id: I03f1d1ea345a43685397e106fc5e27e1c2436f70
This commit is contained in:
parent
e877b526fc
commit
bf17dd54e8
|
@ -15,16 +15,6 @@ class TemplateStylesHooks {
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add phpunit tests
|
||||
*
|
||||
* @param array &$files List of phpunit test files
|
||||
*/
|
||||
public static function onUnitTestsList( &$files ) {
|
||||
$files[] = __DIR__ . '/tests/phpunit/';
|
||||
return true;
|
||||
}
|
||||
|
||||
private static function decodeFromBlob( $blob ) {
|
||||
$tree = gzdecode( $blob );
|
||||
if ( $tree ) {
|
||||
|
|
|
@ -36,9 +36,6 @@
|
|||
],
|
||||
"OutputPageParserOutput": [
|
||||
"TemplateStylesHooks::onOutputPageParserOutput"
|
||||
],
|
||||
"UnitTestsList": [
|
||||
"TemplateStylesHooks::onUnitTestsList"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
|
|
Loading…
Reference in a new issue