public function ProcessorIntegrationTest::checkStemmerIntegration in Search API 8
Tests the UI for the "Stemmer" processor.
1 call to ProcessorIntegrationTest::checkStemmerIntegration()
- ProcessorIntegrationTest::testProcessorIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the admin UI for processors.
File
- tests/
src/ Functional/ ProcessorIntegrationTest.php, line 693
Class
- ProcessorIntegrationTest
- Tests the admin UI for processors.
Namespace
Drupal\Tests\search_api\FunctionalCode
public function checkStemmerIntegration() {
$this
->enableProcessor('stemmer');
$configuration = [
'all_fields' => TRUE,
'exceptions' => [
'indian' => 'india',
],
];
$form_values = [
'all_fields' => TRUE,
'exceptions' => 'indian=india',
];
$this
->editSettingsForm($configuration, 'stemmer', $form_values);
}