You are here

protected function SearchMatchTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/search/tests/src/Kernel/SearchMatchTest.php \Drupal\Tests\search\Kernel\SearchMatchTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/search/tests/src/Kernel/SearchMatchTest.php, line 33

Class

SearchMatchTest
Indexes content and queries it.

Namespace

Drupal\Tests\search\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('search', [
    'search_index',
    'search_dataset',
    'search_total',
  ]);
  $this
    ->installConfig([
    'search',
  ]);
}