MediaWiki
REL1_22
|
Public Member Functions | |
newTestContext (WebRequest $request, User $user=null) | |
Returns a DerivativeContext with the request variables in place. |
Definition at line 234 of file ApiTestCase.php.
ApiTestContext::newTestContext | ( | WebRequest $ | request, |
User $ | user = null |
||
) |
Returns a DerivativeContext with the request variables in place.
$request | WebRequest request object including parameters and session |
$user | User or null |
Definition at line 243 of file ApiTestCase.php.