function EntityLoadByUuidTest::setUp

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

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Entity/EntityLoadByUuidTest.php, line 23

Class

EntityLoadByUuidTest
Tests loading entities by UUID.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('user');
    $this->installEntitySchema('entity_test');
}

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