API tests to verify basic query functionality (list & props)
authorYuri Astrakhan <yuriastrakhan@gmail.com>
Fri, 8 Feb 2013 06:45:19 +0000 (01:45 -0500)
committerYuri Astrakhan <yuriastrakhan@gmail.com>
Fri, 8 Feb 2013 06:45:19 +0000 (01:45 -0500)
commit33979bd5bc0b5bbf6036f69f98d23e0aadf582c8
tree164d10a453efdac69467a3ac4ac21dec3b190190
parent1c4587aabfc7e6d00171062214f5887f0e8d7ede
API tests to verify basic query functionality (list & props)

* Several tests to verify query with prop=, list=, and generator
* Moved query related tests to query\ dir
* Added a generic ApiTestCase::editPage() to simplify page creation
* Fixed minor warnings complained by jenkins/phpcs

Change-Id: I5e3984d797178ae03f048792c7bac8e6a881aa41
tests/phpunit/includes/api/ApiQueryRevisionsTest.php [deleted file]
tests/phpunit/includes/api/ApiQueryTest.php [deleted file]
tests/phpunit/includes/api/ApiTestCase.php
tests/phpunit/includes/api/query/ApiQueryBasicTest.php [new file with mode: 0644]
tests/phpunit/includes/api/query/ApiQueryRevisionsTest.php [new file with mode: 0644]
tests/phpunit/includes/api/query/ApiQueryTest.php [new file with mode: 0644]