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