Wordpress/tests
James Nylen 6c32c99a97 REST API: Improve posts orderby tests
This commit adds tests for `orderby=relevance` combined with a search term in the REST API.

It also improves tests for the `orderby` parameter in `WP_REST_Posts_Controller` by looking at the generated SQL query instead of creating a bunch of carefully arranged test objects.  This should be much more robust, and we can use this approach in other places (such as #39055).

Fixes #39079.


git-svn-id: https://develop.svn.wordpress.org/trunk@40037 602fd350-edb4-49c9-b593-d223f7449a82
2017-02-01 20:30:17 +00:00
..
phpunit REST API: Improve posts orderby tests 2017-02-01 20:30:17 +00:00
qunit Update/Install: Give context to "Deleted! string to allow for differentiation between theme and plugin translations. 2017-01-31 09:58:49 +00:00