dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0dffb0
)
Api requests can throw a ApiUsageException, and that should be expected
author
addshore
<adamshorland@gmail.com>
Fri, 23 Mar 2018 11:33:10 +0000
(11:33 +0000)
committer
Addshore
<addshorewiki@gmail.com>
Thu, 5 Apr 2018 08:41:32 +0000
(08:41 +0000)
Change-Id: I4aa6e7511747c0d811e2e617b88e681a6eda875d
tests/phpunit/includes/api/ApiTestCase.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/api/ApiTestCase.php
b/tests/phpunit/includes/api/ApiTestCase.php
index
f1ff947
..
7ecb729
100644
(file)
--- a/
tests/phpunit/includes/api/ApiTestCase.php
+++ b/
tests/phpunit/includes/api/ApiTestCase.php
@@
-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,