You are here

protected function SolrLegacyTest::installConfigs in Search API Solr 4.x

Called by setUp() to install required configs.

Overrides SearchApiSolrTest::installConfigs

File

modules/search_api_solr_legacy/tests/src/Kernel/SolrLegacyTest.php, line 28

Class

SolrLegacyTest
Tests index and search capabilities using the Solr search backend.

Namespace

Drupal\Tests\search_api_solr_legacy\Kernel

Code

protected function installConfigs() {
  parent::installConfigs();
  $this
    ->installConfig([
    'search_api_solr_legacy',
    'search_api_solr_legacy_test',
  ]);

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