Set $wgInternalTidy to false in unit tests when running under HHVM
authorOri Livneh <ori@wikimedia.org>
Thu, 18 Dec 2014 22:56:58 +0000 (14:56 -0800)
committerOri Livneh <ori@wikimedia.org>
Thu, 18 Dec 2014 22:58:18 +0000 (14:58 -0800)
commitd71ce5ab3ae1fae925d42cac4896960538a3d14b
tree0af33016a235969b41623ed302dddbd6fdc3db88
parent470538a41a652056a31828e62c80f58e5b77e4fb
Set $wgInternalTidy to false in unit tests when running under HHVM

The Tidy extension for HHVM is nominally usable, but does not provide error
text returns. Tests should use TidySupport to determine whether they should use
the Tidy extension or not.

Change-Id: I0f842ddf8484206fc2a8b01289bc0a6750f34fed
tests/phpunit/includes/HtmlFormatterTest.php
tests/testHelpers.inc