function EntityBaseTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityBaseTest.php \Drupal\KernelTests\Core\Entity\EntityBaseTest::setUp()
  2. 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityBaseTest.php \Drupal\KernelTests\Core\Entity\EntityBaseTest::setUp()

Overrides EntityKernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Entity/EntityBaseTest.php, line 24

Class

EntityBaseTest
Tests the functionality provided by \Drupal\Core\Entity\EntityBase.

Namespace

Drupal\KernelTests\Core\Entity

Code

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

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