You are here

class SearchApiSolrMultilingualLocationTest in Search API Multilingual Solr Search 8

Tests index and search capabilities using the Solr search backend.

@group search_api_solr_multilingual

Hierarchy

Expanded class hierarchy of SearchApiSolrMultilingualLocationTest

File

tests/src/Kernel/SearchApiSolrMultilingualLocationTest.php, line 13

Namespace

Drupal\Tests\search_api_solr_multilingual\Kernel
View source
class SearchApiSolrMultilingualLocationTest extends SearchApiSolrLocationTest {

  /**
   * Modules to enable for this test.
   *
   * @var string[]
   */
  public static $modules = array(
    'language',
    'search_api_solr_multilingual',
    'search_api_solr_multilingual_test',
  );

  /**
   * A Search API server ID.
   *
   * @var string
   */
  protected $serverId = 'solr_multilingual_search_server';

  /**
   * A Search API index ID.
   *
   * @var string
   */
  protected $indexId = 'solr_multilingual_search_index';

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    BackendTestBase::setUp();
    $this
      ->installConfig([
      'search_api_solr',
      'search_api_solr_multilingual',
      'search_api_solr_multilingual_test',
    ]);
    $this
      ->commonSolrBackendSetUp();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SearchApiSolrMultilingualLocationTest::$indexId protected property A Search API index ID.
SearchApiSolrMultilingualLocationTest::$modules public static property Modules to enable for this test.
SearchApiSolrMultilingualLocationTest::$serverId protected property A Search API server ID.
SearchApiSolrMultilingualLocationTest::setUp public function