You are here

protected function IgnoreCharacterTest::setUp in Search API 8

Creates a new processor object for use in the tests.

Overrides UnitTestCase::setUp

File

tests/src/Unit/Processor/IgnoreCharacterTest.php, line 26

Class

IgnoreCharacterTest
Tests the "Ignore characters" processor.

Namespace

Drupal\Tests\search_api\Unit\Processor

Code

protected function setUp() {
  parent::setUp();
  $this->processor = new IgnoreCharacters([
    'ignorable' => '',
  ], 'ignore_character', []);
}