protected function ContentAccessTest::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/ ContentAccessTest.php, line 28
Class
- ContentAccessTest
- Tests the "Content access" 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');
}