public function ElasticsearchTest::testFramework in Elasticsearch Connector 8
Same name and namespace in other branches
- 8.2 src/Tests/ElasticsearchTest.php \Drupal\elasticsearch_connector\Tests\ElasticsearchTest::testFramework()
Tests various indexing scenarios for the Elasticsearch backend as given in search_api_db.
File
- src/
Tests/ ElasticsearchTest.php, line 79 - Contains \Drupal\elasticsearch_connector\Tests\ElasticsearchTest.
Class
- ElasticsearchTest
- Tests index and search capabilities using the elasticsearch backend.
Namespace
Drupal\elasticsearch_connector\TestsCode
public function testFramework() {
if ($this->elasticsearchAvailable) {
parent::testFramework();
}
else {
$this
->pass('Error: The Elasticsearch instance could not be found.');
}
}