diff options
Diffstat (limited to 'tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php')
-rw-r--r-- | tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php b/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php index 3bf9415ff49c..22f77c3bdec6 100644 --- a/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php +++ b/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php @@ -40,6 +40,11 @@ class WikitextContentHandlerIntegrationTest extends TextContentHandlerIntegratio ] + $defaults, ] ) ); + // Limit reporting affects the options used + $this->overrideConfigValue( + MainConfigNames::EnableParserLimitReporting, + true + ); } public static function provideGetParserOutput() { @@ -52,15 +57,15 @@ class WikitextContentHandlerIntegrationTest extends TextContentHandlerIntegratio 'suppressSectionEditLinks', 'useParsoid', 'wrapclass', + 'expensiveParserFunctionLimit', + 'maxPPExpandDepth', + 'maxPPNodeCount', ]; $commonParsoidOptions = array_merge( $commonOptions, [ // Currently no options specific to parsoid parses ] ); $commonLegacyOptions = array_merge( $commonOptions, [ 'disableTitleConversion', - 'expensiveParserFunctionLimit', - 'maxPPExpandDepth', - 'maxPPNodeCount', 'suppressTOC', 'targetLanguage', ] ); |