Improve ApiQueryTestBase::assertResult
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 4 Dec 2013 16:52:32 +0000 (11:52 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 4 Dec 2013 17:00:12 +0000 (12:00 -0500)
commit946c575fe6993196eb88e96c0bb7d159fc96c99b
tree1e39f5281673ad3c7d37d260500a8c187d09e8c9
parent2f36dff7d41b1864f4f3c9be21e3b63676da9697
Improve ApiQueryTestBase::assertResult

It really shouldn't be printing output in the middle of the phpunit
progress indicator; this output should be included in the final output
instead.

This rewrites the function to make use of PHPUnit's data structure
diffing support.

Bug: 57974
Change-Id: Ia4b66182922005da8e2bc173794d712492ad13fa
tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php
tests/phpunit/includes/api/query/ApiQueryTestBase.php