function PendingRevisionTest::setUp

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

Overrides KernelTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/PendingRevisionTest.php, line 37

Class

PendingRevisionTest
Kernel tests for taxonomy pending revisions.

Namespace

Drupal\Tests\taxonomy\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig([
        'taxonomy',
    ]);
    $this->installEntitySchema('user');
    $this->installEntitySchema('node');
    $this->installEntitySchema('taxonomy_term');
    $this->installSchema('node', 'node_access');
}

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