You are here

protected function SearchApiSolrTest::installConfigs in Search API Solr 8.3

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

Called by setUp() to install required configs.

Overrides SolrBackendTestBase::installConfigs

File

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

Class

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

Namespace

Drupal\Tests\search_api_solr\Kernel

Code

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