function EntityKernelTestBaseTest::setUp

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php \Drupal\KernelTests\Core\Entity\EntityKernelTestBaseTest::setUp()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php \Drupal\KernelTests\Core\Entity\EntityKernelTestBaseTest::setUp()
  3. 10 core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php \Drupal\KernelTests\Core\Entity\EntityKernelTestBaseTest::setUp()

Overrides EntityKernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php, line 17

Class

EntityKernelTestBaseTest
@covers <a href="/api/drupal/core%21tests%21Drupal%21KernelTests%21Core%21Entity%21EntityKernelTestBase.php/class/EntityKernelTestBase/11.x" title="Defines an abstract test base for entity kernel tests." class="local">\Drupal\KernelTests\Core\Entity\EntityKernelTestBase</a>

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function setUp() : void {
    parent::setUp();
    $this->createUser();
}

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