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\KernelCode
public function testUserNameEditProtectionBypass() {
$this
->doUserProtectionBypassTest('user_name', 'user_name');
}