You are here

protected function FacetsTestBase::clearIndex in Facets 8

Clears the test index.

1 call to FacetsTestBase::clearIndex()
IntegrationTest::testFramework in tests/src/Functional/IntegrationTest.php
Tests various operations via the Facets' admin UI.

File

tests/src/Functional/FacetsTestBase.php, line 181

Class

FacetsTestBase
Provides the base class for web tests for Search API.

Namespace

Drupal\Tests\facets\Functional

Code

protected function clearIndex() {
  $this
    ->getIndex()
    ->clear();
}