Api requests can throw a ApiUsageException, and that should be expected
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiTestCase.php
index f1ff947..7ecb729 100644 (file)
@@ -68,6 +68,7 @@ abstract class ApiTestCase extends MediaWikiLangTestCase {
         * @param bool $appendModule
         * @param User|null $user
         *
+        * @throws ApiUsageException
         * @return array
         */
        protected function doApiRequest( array $params, array $session = null,