MediaWiki REL1_31
ApiUnblockTest.php
Go to the documentation of this file.
1<?php
2
14 public function testWithNoToken() {
15 $this->doApiRequest(
16 [
17 'action' => 'unblock',
18 'user' => 'UTApiBlockee',
19 'reason' => 'Some reason',
20 ]
21 );
22 }
23}
doApiRequest(array $params, array $session=null, $appendModule=false, User $user=null, $tokenType=null)
Does the API request and returns the result.
API Database medium.
testWithNoToken()
ApiUsageException.