Skip ApiFormatWddxTest under HHVM
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 16 Dec 2014 16:52:52 +0000 (11:52 -0500)
committerBryanDavis <bdavis@wikimedia.org>
Thu, 18 Dec 2014 16:57:49 +0000 (16:57 +0000)
commit82fb7347408567681d3eb9b16d7813ff6fa21579
tree596314325c34b3d99ebfe037166cd210e512864d
parent57ce0b309db8ff0dbb7b53f80fdb8574c0bbd57f
Skip ApiFormatWddxTest under HHVM

wddx_serialize_value() fails to escape the ampersand under HHVM. It has
been fixed upstream https://github.com/facebook/hhvm/issues/4283 but
has not been released yet.

When running under HHVM and detecting the ampersand is not escaped, skip
the test..

Bug: T75531
Change-Id: Ia58ec20b4daf78cd90da1bdf8af6cac86015c5d7
tests/phpunit/includes/api/format/ApiFormatWddxTest.php