dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4a56e5e
)
Merge "editTests: Use the correct list of parser test files"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 10 Feb 2018 00:30:08 +0000
(
00:30
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 10 Feb 2018 00:30:08 +0000
(
00:30
+0000)
tests/parser/editTests.php
patch
|
blob
|
history
diff --git
a/tests/parser/editTests.php
b/tests/parser/editTests.php
index
cb430f2
..
3e18370
100644
(file)
--- 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'] );