public function ProtectionRuleBypassTest::testRoleNameEditProtectionBypass in User protect 8
Tests if bypassing role name edit protection is respected.
File
- tests/
src/ Kernel/ ProtectionRuleBypassTest.php, line 32
Class
- ProtectionRuleBypassTest
- Tests bypassing protection rules.
Namespace
Drupal\Tests\userprotect\KernelCode
public function testRoleNameEditProtectionBypass() {
$this
->doRoleProtectionBypassTest('user_name', 'user_name');
}