Fixed incorrect size for api result
authorYuri Astrakhan <yurik@wikimedia.org>
Fri, 11 Dec 2015 22:45:14 +0000 (01:45 +0300)
committerReedy <reedy@wikimedia.org>
Sat, 12 Dec 2015 15:59:32 +0000 (15:59 +0000)
commit393378d2cb5725104153b0f0faf5840a2bdd2040
tree2873a6647de46b0202700aa7aea96fccfb036bd0
parent52b9eaee3a4db1a4139f215480404d9dfbe1b6ed
Fixed incorrect size for api result

Added a unit test to highlight the problem

Change-Id: I5d4bcb755bd3686a92e7b111946a49892699729f
includes/api/ApiResult.php
tests/phpunit/includes/api/ApiResultTest.php