dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Get rid of ApiTestCase::doLogin
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiUnblockTest.php
1
<
?php
2
3
/**
4
* @group API
5
* @group Database
6
* @group medium
7
*
8
* @covers ApiUnblock
9
*/
10
class
ApiUnblockTest
extends
ApiTestCase
{
11
/**
12
* @expectedException ApiUsageException
13
*/
14
public function
testWithNoToken
() {
15
$this
->
doApiRequest
(
16
[
17
'action'
=>
'unblock'
,
18
'user'
=>
'UTApiBlockee'
,
19
'reason'
=>
'Some reason'
,
20
]
21
);
22
}
23
}