You are here

protected function ProtectionRuleBypassTest::setUp in User protect 8

Overrides UserProtectKernelTestBase::setUp

File

tests/src/Kernel/ProtectionRuleBypassTest.php, line 23

Class

ProtectionRuleBypassTest
Tests bypassing protection rules.

Namespace

Drupal\Tests\userprotect\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->accessController = \Drupal::entityTypeManager()
    ->getAccessControlHandler('user');
}