MediaWiki
REL1_19
|
Public Member Functions | |
newTestContext ($params, $session, $user=null) | |
Returns a DerivativeContext with the request variables in place. |
Definition at line 152 of file ApiTestCase.php.
ApiTestContext::newTestContext | ( | $ | params, |
$ | session, | ||
$ | user = null |
||
) |
Returns a DerivativeContext with the request variables in place.
$params | Array key-value API params |
$session | Array session data |
$user | User or null |
Definition at line 162 of file ApiTestCase.php.
References RequestContext\$user.