You are here

public function ProtectionRuleBypassTest::testUserEditProtectionBypass in User protect 8

Tests if bypassing user edit protection is respected.

File

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

Class

ProtectionRuleBypassTest
Tests bypassing protection rules.

Namespace

Drupal\Tests\userprotect\Kernel

Code

public function testUserEditProtectionBypass() {
  $this
    ->doUserProtectionBypassTest('user_edit', 'update');
}