You are here

FacetsTest.php in Search API Solr 4.x

File

modules/search_api_solr_legacy/tests/src/Functional/FacetsTest.php
View source
<?php

namespace Drupal\Tests\search_api_solr_legacy\Functional;

use Drupal\search_api_solr_legacy_test\Plugin\SolrConnector\Solr36TestConnector;
use Drupal\Tests\search_api_solr\Functional\FacetsTest as SearchApiSolrFacetsTest;

/**
 * Tests the facets functionality using the Solr backend.
 *
 * @group search_api_solr_legacy
 */
class FacetsTest extends SearchApiSolrFacetsTest {

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

  /**
   * {@inheritdoc}
   */
  public function setUp() : void {
    parent::setUp();

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

}

Classes

Namesort descending Description
FacetsTest Tests the facets functionality using the Solr backend.