Use Remex for TextContentTest subclasses
authorC. Scott Ananian <cscott@cscott.net>
Tue, 25 Sep 2018 18:04:01 +0000 (14:04 -0400)
committerC. Scott Ananian <cananian@wikimedia.org>
Tue, 25 Sep 2018 18:42:56 +0000 (18:42 +0000)
We are deprecating untidy configurations of the parser.

Bug: T198214
Change-Id: I16529879a3b3aed960c5dc006e2af513d7e91fcd

tests/phpunit/includes/content/TextContentTest.php

index a890494..4f04e64 100644 (file)
@@ -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
                ] );