function LayoutEntityHelperTraitTest::setUp

Same name in other branches
  1. 9 core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Kernel\LayoutEntityHelperTraitTest::setUp()
  2. 10 core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Kernel\LayoutEntityHelperTraitTest::setUp()
  3. 11.x core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Kernel\LayoutEntityHelperTraitTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php, line 41

Class

LayoutEntityHelperTraitTest
@coversDefaultClass \Drupal\layout_builder\LayoutEntityHelperTrait

Namespace

Drupal\Tests\layout_builder\Kernel

Code

protected function setUp() {
    parent::setUp();
    $this->installSchema('system', [
        'key_value_expire',
    ]);
    $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.