protected function SolrBackendTrait::tearDown in Search API Solr 8.3
Same name and namespace in other branches
- 8 tests/src/Kernel/Processor/SolrBackendTrait.php \Drupal\Tests\search_api_solr\Kernel\Processor\SolrBackendTrait::tearDown()
- 8.2 tests/src/Kernel/Processor/SolrBackendTrait.php \Drupal\Tests\search_api_solr\Kernel\Processor\SolrBackendTrait::tearDown()
- 4.x tests/src/Kernel/Processor/SolrBackendTrait.php \Drupal\Tests\search_api_solr\Kernel\Processor\SolrBackendTrait::tearDown()
File
- tests/
src/ Kernel/ Processor/ SolrBackendTrait.php, line 70
Class
- SolrBackendTrait
- Helper to exchange the DB backend for a Solr backend in processor tests.
Namespace
Drupal\Tests\search_api_solr\Kernel\ProcessorCode
protected function tearDown() {
$this->index
->clear();
$this
->ensureCommit($this->index);
parent::tearDown();
}