diff options
Diffstat (limited to 'tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php')
-rw-r--r-- | tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php b/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php index b3e1dfdbf6b9..21ce0439e0d6 100644 --- a/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php +++ b/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php @@ -39,7 +39,6 @@ class WikitextContentHandlerIntegrationTest extends TextContentHandlerIntegratio ] + $defaults, ] ) ); - $this->getServiceContainer()->resetServiceForTesting( 'InterwikiLookup' ); } public static function provideGetParserOutput() { @@ -259,9 +258,6 @@ class WikitextContentHandlerIntegrationTest extends TextContentHandlerIntegratio * @param string $expectedTarget Expected target string in the HTML redirect */ public function testMakeRedirectContent( LinkTarget $target, string $expectedWT, string $expectedTarget ) { - $this->getServiceContainer()->resetServiceForTesting( 'ContentLanguage' ); - $this->getServiceContainer()->resetServiceForTesting( 'MagicWordFactory' ); - $handler = $this->getServiceContainer()->getContentHandlerFactory() ->getContentHandler( CONTENT_MODEL_WIKITEXT ); $content = $handler->makeRedirectContent( Title::newFromLinkTarget( $target ) ); |