You are here

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

Same name and namespace in other branches
  1. 8.3 tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::installConfigs()
  2. 8.2 tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::installConfigs()

Called by setUp() to install required configs.

Overrides SolrBackendTestBase::installConfigs

1 call to SearchApiSolrTest::installConfigs()
SolrLegacyTest::installConfigs in modules/search_api_solr_legacy/tests/src/Kernel/SolrLegacyTest.php
Called by setUp() to install required configs.
1 method overrides SearchApiSolrTest::installConfigs()
SolrLegacyTest::installConfigs in modules/search_api_solr_legacy/tests/src/Kernel/SolrLegacyTest.php
Called by setUp() to install required configs.

File

tests/src/Kernel/SearchApiSolrTest.php, line 95

Class

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

Namespace

Drupal\Tests\search_api_solr\Kernel

Code

protected function installConfigs() {
  foreach (array_keys($this->languageIds) as $language_id) {
    ConfigurableLanguage::createFromLangcode($language_id)
      ->save();
  }
  parent::installConfigs();
}