Tests for MWExceptionHandler::jsonSerializeException
authorAntoine Musso <hashar@free.fr>
Mon, 28 Oct 2013 16:24:50 +0000 (17:24 +0100)
committerOri Livneh <ori@wikimedia.org>
Wed, 6 Nov 2013 05:46:55 +0000 (21:46 -0800)
commit81e3aee79a70bc930b3f012d04e3de445c31aa6f
tree55977f2082ba34b066c9edb8a92915bd195b2857
parent2ed03c8784e28314b8a91b0c35129d1c6c1c0ae6
Tests for MWExceptionHandler::jsonSerializeException

MWExceptionHandler::jsonSerializeException was introduced in Iacda90fb4. This
patch add tests that verify that JSON-serialized exceptions have the right set
of keys with the right types of values.

Change-Id: I37f2a837e2d26bf9780e56edc7ec039e8e447525
tests/phpunit/includes/ExceptionTest.php [new file with mode: 0644]