You are here

HtmlFilterTest.php in Search API Solr 4.x

File

modules/search_api_solr_legacy/tests/src/Kernel/Processor/HtmlFilterTest.php
View source
<?php

namespace Drupal\Tests\search_api_solr_legacy\Kernel\Processor;

use Drupal\search_api_solr_legacy_test\Plugin\SolrConnector\Solr36TestConnector;
use Drupal\Tests\search_api_solr\Kernel\Processor\HtmlFilterTest as SearchApiSolrHtmlFilterTest;

/**
 * Tests usages of Solr payloads.
 *
 * @group search_api_solr_legacy
 *
 * @see \Drupal\search_api\Plugin\search_api\processor\HtmlFilter
 */
class HtmlFilterTest extends SearchApiSolrHtmlFilterTest {

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'search_api_solr_legacy',
    'search_api_solr_legacy_test',
  ];

  /**
   * {@inheritdoc}
   */
  protected function enableSolrServer() {
    parent::enableSolrServer();

    // Swap the connector.
    Solr36TestConnector::adjustBackendConfig('search_api.server.solr_search_server');
  }

}

Classes

Namesort descending Description
HtmlFilterTest Tests usages of Solr payloads.