public function SolrBackendTestBase::tearDown in Search API Solr 8.3
Same name and namespace in other branches
- 8.2 tests/src/Kernel/SolrBackendTestBase.php \Drupal\Tests\search_api_solr\Kernel\SolrBackendTestBase::tearDown()
- 4.x tests/src/Kernel/SolrBackendTestBase.php \Drupal\Tests\search_api_solr\Kernel\SolrBackendTestBase::tearDown()
Clear the index after every test.
Overrides KernelTestBase::tearDown
File
- tests/
src/ Kernel/ SolrBackendTestBase.php, line 104
Class
- SolrBackendTestBase
- Tests location searches and distance facets using the Solr search backend.
Namespace
Drupal\Tests\search_api_solr\KernelCode
public function tearDown() {
$this
->clearIndex();
parent::tearDown();
}