You are here

public function GroupingTest::setUp in Search API Grouping 8

Performs setup tasks before each individual test method is run.

Installs commonly used schemas and sets up a search server and an index, with the specified processor enabled.

Parameters

string|null $processor: (optional) The plugin ID of the processor that should be set up for testing.

Overrides ProcessorTestBase::setUp

File

tests/src/Kernel/Processor/GroupingTest.php, line 29

Class

GroupingTest
Tests the "Grouping" processor.

Namespace

Drupal\Tests\search_api_grouping\Kernel

Code

public function setUp($processor = NULL) {
  parent::setUp('grouping');
  $this
    ->installConfig('search_api_grouping');
}