function ForumIndexTest::setUp
Same name in this branch
- 10 core/modules/forum/tests/src/Functional/ForumIndexTest.php \Drupal\Tests\forum\Functional\ForumIndexTest::setUp()
Same name in other branches
- 9 core/modules/forum/tests/src/Functional/ForumIndexTest.php \Drupal\Tests\forum\Functional\ForumIndexTest::setUp()
- 8.9.x core/modules/forum/tests/src/Functional/ForumIndexTest.php \Drupal\Tests\forum\Functional\ForumIndexTest::setUp()
- 11.x core/modules/forum/tests/src/Kernel/ForumIndexTest.php \Drupal\Tests\forum\Kernel\ForumIndexTest::setUp()
- 11.x core/modules/forum/tests/src/Functional/ForumIndexTest.php \Drupal\Tests\forum\Functional\ForumIndexTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ forum/ tests/ src/ Kernel/ ForumIndexTest.php, line 34
Class
- ForumIndexTest
- Defines a class for testing the forum_index table.
Namespace
Drupal\Tests\forum\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('node');
$this->installEntitySchema('user');
$this->installEntitySchema('comment');
$this->installEntitySchema('taxonomy_term');
$this->installSchema('forum', [
'forum_index',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.