Merge "rdbms: Bump TransactionProfiler log entries to WARNING"
[lhc/web/wiklou.git] / tests / phpunit / includes / ExtraParserTest.php
index 4e95a30..75ebd31 100644 (file)
@@ -41,7 +41,7 @@ class ExtraParserTest extends MediaWikiTestCase {
                $title = Title::newFromText( 'Unit test' );
                $options = ParserOptions::newFromUser( new User() );
                $this->assertEquals( "<p>$longLine</p>",
-                       $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(
                        "<p>Test\nContent of <i>Template:Foo</i>\nContent of <i>Template:Bar</i>\n</p>",
-                       $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() {