X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FExtraParserTest.php;h=75ebd31a2111a9272f12c4e1eb261471f63cab28;hp=4e95a30e09a044ec5c838d1bf404a63ea0e95493;hb=689c847a32e7fe8a0b3a559a88a627a252c5018e;hpb=944b93ee740d491ec6353f3fa5a439db41de97b8 diff --git a/tests/phpunit/includes/ExtraParserTest.php b/tests/phpunit/includes/ExtraParserTest.php index 4e95a30e09..75ebd31a21 100644 --- a/tests/phpunit/includes/ExtraParserTest.php +++ b/tests/phpunit/includes/ExtraParserTest.php @@ -41,7 +41,7 @@ class ExtraParserTest extends MediaWikiTestCase { $title = Title::newFromText( 'Unit test' ); $options = ParserOptions::newFromUser( new User() ); $this->assertEquals( "

$longLine

", - $this->parser->parse( $longLine, $title, $options )->getText() ); + $this->parser->parse( $longLine, $title, $options )->getText( [ 'unwrap' => true ] ) ); } /** @@ -53,7 +53,7 @@ class ExtraParserTest extends MediaWikiTestCase { $parserOutput = $this->parser->parse( "Test\n{{Foo}}\n{{Bar}}", $title, $this->options ); $this->assertEquals( "

Test\nContent of Template:Foo\nContent of Template:Bar\n

", - $parserOutput->getText() + $parserOutput->getText( [ 'unwrap' => true ] ) ); } @@ -191,7 +191,6 @@ class ExtraParserTest extends MediaWikiTestCase { } /** - * @group Database * @covers Parser::parse */ public function testTrackingCategory() { @@ -205,7 +204,6 @@ class ExtraParserTest extends MediaWikiTestCase { } /** - * @group Database * @covers Parser::parse */ public function testTrackingCategorySpecial() {