JUserTest::testAuthorise
Tests JUser::authorise().
Signature
public function testAuthorise(integer
$userId,
string
$action,
string
$asset,
boolean
$expected )
Parameters
-
$userId
- User id of user to test
-
$action
- Action to get aithorized for this user
-
$asset
- Asset to get authorization for
-
$expected
- Expected return from the authorization check
Returns
- void