X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.php;h=2735f93e0dda931299a1f32d8ef0bfb3369278db;hb=43a548a5c3436b5d07091b504bbf5eb80d1ed215;hp=1d0867abf069a633c8ec68e6dd87dccbdfea368b;hpb=9aba586d3b758719d9aa08b236a9de93956b6a96;p=lhc%2Fweb%2Fwiklou.git 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' ) ) : [];