JAccessTest::testCheck
Tests the JAccess::check method.
Signature
public function testCheck(integer
$userId,
string
$action,
integer
$assetId,
mixed
$result,
string
$messageĀ )
Parameters
-
$userId
- user id
-
$action
- action to test
-
$assetId
- asset id
-
$result
- true if success, null if not
-
$message
- fail message
Returns
- void