You are here

public function ProtectionRuleBypassTest::testUserNameEditProtectionBypass in User protect 8

Tests if bypassing user name edit protection is respected.

File

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

Class

ProtectionRuleBypassTest
Tests bypassing protection rules.

Namespace

Drupal\Tests\userprotect\Kernel

Code

public function testUserNameEditProtectionBypass() {
  $this
    ->doUserProtectionBypassTest('user_name', 'user_name');
}