dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Follow up r75810. The code for the parser tests modified the main database even when...
[lhc/web/wiklou.git]
/
maintenance
/
tests
/
phpunit
/
includes
/
parser
/
ParserHelpers.php
diff --git
a/maintenance/tests/phpunit/includes/parser/ParserHelpers.php
b/maintenance/tests/phpunit/includes/parser/ParserHelpers.php
index
3fbd78b
..
43da342
100644
(file)
--- a/
maintenance/tests/phpunit/includes/parser/ParserHelpers.php
+++ b/
maintenance/tests/phpunit/includes/parser/ParserHelpers.php
@@
-33,6
+33,7
@@
class ParserUnitTest extends PHPUnit_Framework_TestCase {
$result = new PHPUnit_Framework_TestResult;
}
+ $this->suite->publishTestArticles(); // Add articles needed by the tests.
$backend = new ParserTestSuiteBackend;
$result->startTest( $this );