Improve ApiFormatJson test coverage
authorAryeh Gregor <ayg@aryeh.name>
Mon, 8 Oct 2018 10:42:20 +0000 (13:42 +0300)
committerAryeh Gregor <ayg@aryeh.name>
Mon, 8 Oct 2018 10:42:20 +0000 (13:42 +0300)
commitedb52e7338ae6e4ac02f6fb61123c74905474837
treef9f3f651273c8d099b0ef77f5f28ad85c2d40cbc
parent936b958cb960ceb4b475d0c2771ff2076163d5e3
Improve ApiFormatJson test coverage

The only thing missing is tests for the rawfm paths, which I don't
understand well enough to test easily.

Change-Id: I08779391798b9d2d5eeb7e19ec4764059336069c
includes/api/ApiFormatJson.php
tests/phpunit/includes/api/format/ApiFormatJsonTest.php