dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix \n handling for HTMLUsersMultiselectField"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiUnblockTest.php
diff --git
a/tests/phpunit/includes/api/ApiUnblockTest.php
b/tests/phpunit/includes/api/ApiUnblockTest.php
index
a374f09
..
971b63c
100644
(file)
--- a/
tests/phpunit/includes/api/ApiUnblockTest.php
+++ b/
tests/phpunit/includes/api/ApiUnblockTest.php
@@
-14,15
+14,15
@@
class ApiUnblockTest extends ApiTestCase {
}
/**
}
/**
- * @expectedException UsageException
+ * @expectedException
Api
UsageException
*/
public function testWithNoToken() {
$this->doApiRequest(
*/
public function testWithNoToken() {
$this->doApiRequest(
- array(
+ [
'action' => 'unblock',
'user' => 'UTApiBlockee',
'reason' => 'Some reason',
'action' => 'unblock',
'user' => 'UTApiBlockee',
'reason' => 'Some reason',
-
)
,
+
]
,
null,
false,
self::$users['sysop']->getUser()
null,
false,
self::$users['sysop']->getUser()