X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FExtraParserTest.php;h=aaa135d8a0e771e0349fec9fd1f33f9c8919f304;hp=5dd4f7a07c019e30a49c38130fb24c720b30b11c;hb=cf0ebed65ad14dc9a48b0d69e0d77fc5f4f83e92;hpb=57eaa2bf04ce1b48bd89c10defe4de5b7d31f047 diff --git a/tests/phpunit/includes/ExtraParserTest.php b/tests/phpunit/includes/ExtraParserTest.php index 5dd4f7a07c..aaa135d8a0 100644 --- a/tests/phpunit/includes/ExtraParserTest.php +++ b/tests/phpunit/includes/ExtraParserTest.php @@ -26,13 +26,14 @@ class ExtraParserTest extends MediaWikiTestCase { // FIXME: This test should pass without setting global content language $this->options = ParserOptions::newFromUserAndLang( new User, $contLang ); $this->options->setTemplateCallback( [ __CLASS__, 'statelessFetchTemplate' ] ); + $this->options->setWrapOutputClass( false ); $this->parser = new Parser; MagicWord::clearCache(); } /** - * @see Bug 8689 + * @see T10689 * @covers Parser::parse */ public function testLongNumericLinesDontKillTheParser() { @@ -40,6 +41,7 @@ class ExtraParserTest extends MediaWikiTestCase { $title = Title::newFromText( 'Unit test' ); $options = ParserOptions::newFromUser( new User() ); + $options->setWrapOutputClass( false ); $this->assertEquals( "

$longLine

", $this->parser->parse( $longLine, $title, $options )->getText() ); } @@ -191,7 +193,6 @@ class ExtraParserTest extends MediaWikiTestCase { } /** - * @group Database * @covers Parser::parse */ public function testTrackingCategory() { @@ -205,7 +206,6 @@ class ExtraParserTest extends MediaWikiTestCase { } /** - * @group Database * @covers Parser::parse */ public function testTrackingCategorySpecial() {