protected function SearchApiSolrTest::commonSolrBackendSetUp in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::commonSolrBackendSetUp()
- 8.2 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 106
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');
}