You are here

protected function ViewsTest::tearDown in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::tearDown()
  2. 8 tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::tearDown()
  3. 8.2 tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::tearDown()

File

tests/src/Functional/ViewsTest.php, line 72

Class

ViewsTest
Tests the Views integration of the Search API.

Namespace

Drupal\Tests\search_api_solr\Functional

Code

protected function tearDown() : void {
  $index = Index::load($this->indexId);
  $index
    ->clear();
  $this
    ->ensureCommit($index);
  parent::tearDown();
}