Automattic / Automattic/jetpack
Search: Add unit tests for Elasticsearch argument builder
Open
[Feature] Search
[Status] Stale
Task
Unit Tests
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
We should add some unit tests to make sure we're generating the correct ES args.
See WPCOM/bin/tests/elasticsearch/suites/QueryParserTest.php#L283 for a starting point.
Related: #8576
Contributor guide
Assessment
This issue has not been assessed yet.