You are here

public function ProtectionRuleBypassTest::testRolePassEditProtectionBypass in User protect 8

Tests if bypassing role password edit protection is respected.

File

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

Class

ProtectionRuleBypassTest
Tests bypassing protection rules.

Namespace

Drupal\Tests\userprotect\Kernel

Code

public function testRolePassEditProtectionBypass() {
  $this
    ->doRoleProtectionBypassTest('user_pass', 'user_pass');
}