function SuperUserPermissionsTest::setUp

Same name in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php \Drupal\KernelTests\Core\Session\SuperUserPermissionsTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php, line 33

Class

SuperUserPermissionsTest
Test case for getting all permissions as a super user.

Namespace

Drupal\KernelTests\Core\Session

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('user');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.