You are here

public function ProcessorIntegrationTest::checkStopWordsIntegration in Search API 8

Tests the UI for the "Stopwords" processor.

1 call to ProcessorIntegrationTest::checkStopWordsIntegration()
ProcessorIntegrationTest::testProcessorIntegration in tests/src/Functional/ProcessorIntegrationTest.php
Tests the admin UI for processors.

File

tests/src/Functional/ProcessorIntegrationTest.php, line 632

Class

ProcessorIntegrationTest
Tests the admin UI for processors.

Namespace

Drupal\Tests\search_api\Functional

Code

public function checkStopWordsIntegration() {
  $configuration = [
    'all_fields' => TRUE,
    'stopwords' => [
      'the',
    ],
  ];
  $form_values = [
    'all_fields' => TRUE,
    'stopwords' => 'the',
  ];
  $this
    ->editSettingsForm($configuration, 'stopwords', $form_values);
}