You are here

public function ProtectionRuleBypassTest::testRoleMailEditProtectionBypass in User protect 8

Tests if bypassing role mail edit protection is respected.

File

tests/src/Kernel/ProtectionRuleBypassTest.php, line 39

Class

ProtectionRuleBypassTest
Tests bypassing protection rules.

Namespace

Drupal\Tests\userprotect\Kernel

Code

public function testRoleMailEditProtectionBypass() {
  $this
    ->doRoleProtectionBypassTest('user_mail', 'user_mail');
}