diff options
Diffstat (limited to 'tests/phpunit/includes/content/WikitextContentHandlerTest.php')
-rw-r--r-- | tests/phpunit/includes/content/WikitextContentHandlerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/content/WikitextContentHandlerTest.php b/tests/phpunit/includes/content/WikitextContentHandlerTest.php index 515b2c80639b..e5456753b15d 100644 --- a/tests/phpunit/includes/content/WikitextContentHandlerTest.php +++ b/tests/phpunit/includes/content/WikitextContentHandlerTest.php @@ -288,7 +288,7 @@ class WikitextContentHandlerTest extends MediaWikiLangTestCase { ->method( 'getDataForSearchIndex' ) ->willReturn( [ 'file_text' => 'This is file content' ] ); - $data = $handler->getDataForSearchIndex( $page, new ParserOutput(), $mockEngine ); + $data = $handler->getDataForSearchIndex( $page, new ParserOutput( '' ), $mockEngine ); $this->assertArrayHasKey( 'file_text', $data ); $this->assertEquals( 'This is file content', $data['file_text'] ); } |