You are here

protected function CurrentUserContextTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php \Drupal\Tests\user\Kernel\ContextProvider\CurrentUserContextTest::setUp()
  2. 9 core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php \Drupal\Tests\user\Kernel\ContextProvider\CurrentUserContextTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php, line 24

Class

CurrentUserContextTest
@coversDefaultClass \Drupal\user\ContextProvider\CurrentUserContext

Namespace

Drupal\Tests\user\Kernel\ContextProvider

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this
    ->installEntitySchema('user');
}