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=74426f3cf796b149f1ae445e41815bbe148640b2;hpb=69ae945e8d39972a07bea89ddb64bc0189b43ac2 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' ) ) : [];