function LegacyForumTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/forum/tests/src/Kernel/LegacyForumTest.php, line 34

Class

LegacyForumTest
Tests Legacy forum code.

Namespace

Drupal\Tests\forum\Kernel

Code

protected function setUp() {
    parent::setUp();
    $this->installEntitySchema('taxonomy_term');
    $this->installConfig('forum');
    $this->termStorage = \Drupal::entityTypeManager()->getStorage('taxonomy_term');
}

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