- Issue created by @mparker17
At time-of-writing, we have two Elasticsearch connectors (\Drupal\elasticsearch_connector\Plugin\ElasticSearch\Connector\StandardConnector
and \Drupal\elasticsearch_connector\Plugin\ElasticSearch\Connector\BasicAuthConnector
), but neither have tests.
✨
Connect to an Elastic Cloud Hosted Deployment acting as a Search API Server by entering a Cloud ID and API key
Active
adds two more connectors.
Currently, the connectors don't have tests. ✨ Have ElasticSearchConnectorInterface::getClient() return an Elasticsearch ClientInterface instead of a Client Active might make it slightly easier to substitute a test double for the Elasticsearch Client, but it's unclear if that issue blocks this one or not.
Ensure that the Connectors are tested, i.e.: they should have:
Adding tests for the connection options might look like:
\Elastic\Elasticsearch\ClientBuilder::setHttpClient()
) that logs messages sent.Adding tests for the UI might look like:
None anticipated.
Unknown, hopefully none.
None anticipated.
Postponed
8.0
Code