protected function IntegrationTest::tearDown in Search API Solr 8
Same name and namespace in other branches
- 8.3 tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr\Functional\IntegrationTest::tearDown()
- 8.2 tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr\Functional\IntegrationTest::tearDown()
- 4.x tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr\Functional\IntegrationTest::tearDown()
Overrides BrowserTestBase::tearDown
File
- tests/
src/ Functional/ IntegrationTest.php, line 30
Class
- IntegrationTest
- Tests the overall functionality of the Search API framework and admin UI.
Namespace
Drupal\Tests\search_api_solr\FunctionalCode
protected function tearDown() {
if ($this->indexId) {
if ($index = $this
->getIndex()) {
$index
->clear();
sleep(2);
}
}
parent::tearDown();
}