aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/content/TextContentTest.php
diff options
context:
space:
mode:
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>2012-11-07 23:08:56 +0100
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>2012-11-07 23:08:56 +0100
commitd1be0a802ef5324f79f959c6a419fe96fb8522e2 (patch)
tree80b960ab590b3dad80033d46f6001d3ae85d570e /tests/phpunit/includes/content/TextContentTest.php
parenta8644b99bba376b80cd6d9e064c21b91de7351e4 (diff)
downloadmediawikicore-d1be0a802ef5324f79f959c6a419fe96fb8522e2.tar.gz
mediawikicore-d1be0a802ef5324f79f959c6a419fe96fb8522e2.zip
Define $wgAlwaysUseTidy to false where needed in unit tests
Tidy changes some whitespaces in the HTML which breaks the tests if enabled. Change-Id: Ib44f60c0d4b595c76c258b41962c3c45ca21ac3e
Diffstat (limited to 'tests/phpunit/includes/content/TextContentTest.php')
-rw-r--r--tests/phpunit/includes/content/TextContentTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/phpunit/includes/content/TextContentTest.php b/tests/phpunit/includes/content/TextContentTest.php
index 337945db530a..52e168b3fff0 100644
--- a/tests/phpunit/includes/content/TextContentTest.php
+++ b/tests/phpunit/includes/content/TextContentTest.php
@@ -21,7 +21,8 @@ class TextContentTest extends MediaWikiTestCase {
CONTENT_MODEL_WIKITEXT,
CONTENT_MODEL_CSS,
CONTENT_MODEL_JAVASCRIPT,
- )
+ ),
+ 'wgAlwaysUseTidy' => false,
) );
$this->context = new RequestContext( new FauxRequest() );