function CurrentUserContextTest::setUp
Same name in other branches
- 9 core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php \Drupal\Tests\user\Kernel\ContextProvider\CurrentUserContextTest::setUp()
- 8.9.x core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php \Drupal\Tests\user\Kernel\ContextProvider\CurrentUserContextTest::setUp()
- 11.x 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 26
Class
- CurrentUserContextTest
- @coversDefaultClass \Drupal\user\ContextProvider\CurrentUserContext
Namespace
Drupal\Tests\user\Kernel\ContextProviderCode
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.