function UserRolesPermissionsTest::setUp

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

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php, line 27

Class

UserRolesPermissionsTest
Test case for getting permissions from user roles.

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.