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