API unittests, pass optional params to doApiRequest()
authorYuri Astrakhan <yurik@wikimedia.org>
Tue, 17 Mar 2015 01:07:24 +0000 (04:07 +0300)
committerYuri Astrakhan <yurik@wikimedia.org>
Tue, 17 Mar 2015 01:07:24 +0000 (04:07 +0300)
commit51e4f30eb7713d002d60e9ff41555272b8c4e769
treeac78f031e981b7ee0f48d9543b32b3e6b87f38e0
parentd4dae8e095b871eb2cb97446ae27c140b676ea97
API unittests, pass optional params to doApiRequest()

ApiQueryTestBase::check() should pass all optional params
like session and user to the doApiRequest()

Change-Id: If1cb52b03faba06c97d330a91a23893fe08acf22
tests/phpunit/includes/api/query/ApiQueryTestBase.php