protected function FacetsTest::tearDown in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 tests/src/Functional/FacetsTest.php \Drupal\Tests\search_api_solr\Functional\FacetsTest::tearDown()
- 8 tests/src/Functional/FacetsTest.php \Drupal\Tests\search_api_solr\Functional\FacetsTest::tearDown()
- 8.2 tests/src/Functional/FacetsTest.php \Drupal\Tests\search_api_solr\Functional\FacetsTest::tearDown()
File
- tests/
src/ Functional/ FacetsTest.php, line 43
Class
- FacetsTest
- Tests the facets functionality using the Solr backend.
Namespace
Drupal\Tests\search_api_solr\FunctionalCode
protected function tearDown() : void {
if ($this->indexId) {
$index = Index::load($this->indexId);
$index
->clear();
$this
->ensureCommit($index);
}
parent::tearDown();
}