From aa929e2aa7f54fca85718251e8e5ad9568a47be2 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 12 Feb 2013 15:43:43 +0100 Subject: [PATCH] Set $wgUseTidy = false on TextContentTest If $wgUseTidy = true on LocalSettings, although this test runs fine standalone, when batched with other database tests it can fail with: --- Expected +++ Actual @@ @@ -'

hello world -

' +'

hello world

' Change-Id: Id143abf45def7bb686f00584d3f7838dc7396ad7 --- tests/phpunit/includes/content/TextContentTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/includes/content/TextContentTest.php b/tests/phpunit/includes/content/TextContentTest.php index ca387a243d..57b7c1023f 100644 --- a/tests/phpunit/includes/content/TextContentTest.php +++ b/tests/phpunit/includes/content/TextContentTest.php @@ -22,6 +22,7 @@ class TextContentTest extends MediaWikiLangTestCase { CONTENT_MODEL_CSS, CONTENT_MODEL_JAVASCRIPT, ), + 'wgUseTidy' => false, 'wgAlwaysUseTidy' => false, ) ); -- 2.20.1