protected function FieldPermissionsTestCase::assertUserHasPermission in Field Permissions 7
Asserts that a user account has a permission.
1 call to FieldPermissionsTestCase::assertUserHasPermission()
File
- ./
field_permissions.test, line 303 - Tests for field_permissions.module.
Class
- FieldPermissionsTestCase
- Tests the Field Permissions module.
Code
protected function assertUserHasPermission($account, $permission, $message) {
$this
->_assertUserPermissionState($account, $permission, $message, TRUE);
}