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
index 3fbd78b..43da342 100644 (file)
@@ -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 );