From: Platonides Date: Tue, 12 Feb 2013 14:43:43 +0000 (+0100) Subject: Set $wgUseTidy = false on TextContentTest X-Git-Tag: 1.31.0-rc.0~20706^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=aa929e2aa7f54fca85718251e8e5ad9568a47be2;p=lhc%2Fweb%2Fwiklou.git 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 --- 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, ) );