From 2cb60f42041fb62d6fa7f7573ec3d9739aa5b81d Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Tue, 25 Sep 2018 14:04:01 -0400 Subject: [PATCH] Use Remex for TextContentTest subclasses We are deprecating untidy configurations of the parser. Bug: T198214 Change-Id: I16529879a3b3aed960c5dc006e2af513d7e91fcd --- tests/phpunit/includes/content/TextContentTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/content/TextContentTest.php b/tests/phpunit/includes/content/TextContentTest.php index a8904940f6..4f04e64fff 100644 --- a/tests/phpunit/includes/content/TextContentTest.php +++ b/tests/phpunit/includes/content/TextContentTest.php @@ -32,7 +32,7 @@ class TextContentTest extends MediaWikiLangTestCase { CONTENT_MODEL_CSS, CONTENT_MODEL_JAVASCRIPT, ], - 'wgTidyConfig' => [ 'driver' => 'disabled' ], + 'wgTidyConfig' => [ 'driver' => 'RemexHtml' ], 'wgCapitalLinks' => true, 'wgHooks' => [], // bypass hook ContentGetParserOutput that force custom rendering ] ); -- 2.20.1