You are here

protected function FieldPermissionsTestCase::assertUserDoesNotHavePermission in Field Permissions 7

Asserts that a user account does not have a permission.

1 call to FieldPermissionsTestCase::assertUserDoesNotHavePermission()
FieldPermissionsTestCase::testPermissionsUI in ./field_permissions.test

File

./field_permissions.test, line 310
Tests for field_permissions.module.

Class

FieldPermissionsTestCase
Tests the Field Permissions module.

Code

protected function assertUserDoesNotHavePermission($account, $permission, $message) {
  $this
    ->_assertUserPermissionState($account, $permission, $message, FALSE);
}