public function ProcessorIntegrationTest::checkUrlFieldIntegration in Search API 8
Tests the integration of the "URL field" processor.
1 call to ProcessorIntegrationTest::checkUrlFieldIntegration()
- ProcessorIntegrationTest::testProcessorIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the admin UI for processors.
File
- tests/
src/ Functional/ ProcessorIntegrationTest.php, line 738
Class
- ProcessorIntegrationTest
- Tests the admin UI for processors.
Namespace
Drupal\Tests\search_api\FunctionalCode
public function checkUrlFieldIntegration() {
$index = $this
->loadIndex();
$index
->removeProcessor('add_url');
$index
->save();
$this
->assertTrue($this
->loadIndex()
->isValidProcessor('add_url'), 'The "Add URL" processor cannot be disabled.');
}