public function ProtectionRuleBypassTest::testUserMailEditProtectionBypass in User protect 8
Tests if bypassing user mail edit protection is respected.
File
- tests/
src/ Kernel/ ProtectionRuleBypassTest.php, line 97
Class
- ProtectionRuleBypassTest
- Tests bypassing protection rules.
Namespace
Drupal\Tests\userprotect\KernelCode
public function testUserMailEditProtectionBypass() {
$this
->doUserProtectionBypassTest('user_mail', 'user_mail');
}