You are here

protected function SearchMatchTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/search/src/Tests/SearchMatchTest.php, line 36
Contains \Drupal\search\Tests\SearchMatchTest.

Class

SearchMatchTest
Indexes content and queries it.

Namespace

Drupal\search\Tests

Code

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