function UserRoleDeleteTest::setUp

Same name in other branches
  1. 9 core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php \Drupal\Tests\user\Kernel\UserRoleDeleteTest::setUp()
  2. 8.9.x core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php \Drupal\Tests\user\Kernel\UserRoleDeleteTest::setUp()
  3. 11.x core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php \Drupal\Tests\user\Kernel\UserRoleDeleteTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php, line 28

Class

UserRoleDeleteTest
Tests the handling of user_role entity from the user module.

Namespace

Drupal\Tests\user\Kernel

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.