X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fparser%2FeditTests.php;h=3e18370a41430ead8512d66cd6b0331f6b9da1bd;hp=cb430f280db449c0e67aa874cb3feef9cb7e93d6;hb=1ec5bb6dbf28bb1f3414188aaa69e2b0a795abdb;hpb=6c4d32e3940ddbf310a29cb9162984f588691790 diff --git a/tests/parser/editTests.php b/tests/parser/editTests.php index cb430f280d..3e18370a41 100644 --- a/tests/parser/editTests.php +++ b/tests/parser/editTests.php @@ -62,10 +62,9 @@ class ParserEditTests extends Maintenance { } protected function setupFileData() { - global $wgParserTestFiles; $this->testFiles = []; $this->testCount = 0; - foreach ( $wgParserTestFiles as $file ) { + foreach ( ParserTestRunner::getParserTestFiles() as $file ) { $fileInfo = TestFileReader::read( $file ); $this->testFiles[$file] = $fileInfo; $this->testCount += count( $fileInfo['tests'] );