protected function AddHierarchyTest::enableSolrServer in Search API Solr 4.x
Swap the DB backend for a Solr backend.
This function has to be called from the test setUp() function.
Overrides SolrBackendTrait::enableSolrServer
File
- modules/
search_api_solr_legacy/ tests/ src/ Kernel/ Processor/ AddHierarchyTest.php, line 30
Class
- AddHierarchyTest
- Tests the "Hierarchy" processor.
Namespace
Drupal\Tests\search_api_solr_legacy\Kernel\ProcessorCode
protected function enableSolrServer() {
parent::enableSolrServer();
// Swap the connector.
Solr36TestConnector::adjustBackendConfig('search_api.server.solr_search_server');
}