X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fparser%2FparserTests.php;h=2735f93e0dda931299a1f32d8ef0bfb3369278db;hp=1d0867abf069a633c8ec68e6dd87dccbdfea368b;hb=2632183a49f6f8845fdbd77bceaccb6aafe4003f;hpb=3a2853e218acb586a00f2e59638de4176aee287f diff --git a/tests/parser/parserTests.php b/tests/parser/parserTests.php index 1d0867abf0..2735f93e0d 100644 --- a/tests/parser/parserTests.php +++ b/tests/parser/parserTests.php @@ -80,7 +80,7 @@ class ParserTestsMaintenance extends Maintenance { } public function execute() { - global $wgParserTestFiles, $wgDBtype; + global $wgDBtype; // Cases of weird db corruption were encountered when running tests on earlyish // versions of SQLite @@ -167,7 +167,7 @@ class ParserTestsMaintenance extends Maintenance { } // Default parser tests and any set from extensions or local config - $files = $this->getOption( 'file', $wgParserTestFiles ); + $files = $this->getOption( 'file', ParserTestRunner::getParserTestFiles() ); $norm = $this->hasOption( 'norm' ) ? explode( ',', $this->getOption( 'norm' ) ) : [];