protected function SearchApiSolrTest::commonSolrBackendSetUp in Search API Solr 8.3
Same name and namespace in other branches
- 8.2 tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::commonSolrBackendSetUp()
- 4.x tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::commonSolrBackendSetUp()
Required parts of the setUp() function that are the same for all backends.
Overrides SolrBackendTestBase::commonSolrBackendSetUp
File
- tests/
src/ Kernel/ SearchApiSolrTest.php, line 66
Class
- SearchApiSolrTest
- Tests index and search capabilities using the Solr search backend.
Namespace
Drupal\Tests\search_api_solr\KernelCode
protected function commonSolrBackendSetUp() {
parent::commonSolrBackendSetUp();
$this
->installEntitySchema('user');
$this->fieldsHelper = \Drupal::getContainer()
->get('search_api.fields_helper');
}