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