Opened 9 months ago
Closed 5 months ago
#122 closed defect (fixed)
Tests for WP_Meta_Query
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Keywords: | |
| Cc: |
Description
It appears there are no tests written for Meta query, and I was going to give it a bash. Though I kind of stumbled at the first hurdle: creating the file. What's the naming convention for the files structure, would a testCase for WP_Meta_Query be in /tests/meta.php, /tests/query-meta.php, /tests/query/meta.php ?
Loosely linked to http://core.trac.wordpress.org/ticket/19729
Change History (3)
Note: See
TracTickets for help on using
tickets.

Probably tests/meta/query.php, Tests_Meta_Query as the class name.
WP_Meta_Query is a piece of the meta(data) API in WordPress?. It can also be used for more than just WP_Query (such as in WP_User_Query), so tests/query/meta.php is too specific.