protected function ViewsTest::tearDown in Search API Solr 8.3
Same name and namespace in other branches
- 8 tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::tearDown()
- 8.2 tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::tearDown()
- 4.x tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::tearDown()
Overrides BrowserTestBase::tearDown
File
- tests/
src/ Functional/ ViewsTest.php, line 57
Class
- ViewsTest
- Tests the Views integration of the Search API.
Namespace
Drupal\Tests\search_api_solr\FunctionalCode
protected function tearDown() {
$index = Index::load($this->indexId);
$index
->clear();
$this
->ensureCommit($index);
parent::tearDown();
}