X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FNewParserTest.php;h=22bb23784f01eb2596e948fd6d1cee70989da3af;hb=09ff912ddd3c8b153cdd49082bfc8eabb3b522e5;hp=b0c15250e3f13255ce93127bd3a465f2b8d05545;hpb=b8fce54279c4bc169247697642d87a1c8426e6d3;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index b0c15250e3..22bb23784f 100644 --- a/tests/phpunit/includes/parser/NewParserTest.php +++ b/tests/phpunit/includes/parser/NewParserTest.php @@ -433,6 +433,7 @@ class NewParserTest extends MediaWikiTestCase { 'wgThumbLimits' => [ self::getOptionValue( 'thumbsize', $opts, 180 ) ], 'wgMaxTocLevel' => $maxtoclevel, 'wgUseTeX' => isset( $opts['math'] ) || isset( $opts['texvc'] ), + 'wgWellFormedXml' => true, 'wgMathDirectory' => $uploadDir . '/math', 'wgDefaultLanguageVariant' => $variant, 'wgLinkHolderBatchSize' => $linkHolderBatchSize, @@ -679,7 +680,7 @@ class NewParserTest extends MediaWikiTestCase { $this->file = $wgParserTestFiles[0]; } - return new TestFileIterator( $this->file, $this ); + return new TestFileDataProvider( $this->file, $this ); } /**