Wordpress/tests/phpunit/tests/query
Boone Gorges dcbd8c6c3d Allow setup_postdata() to accept a post ID.
Previously, it accepted only a full post object.

Props sc0ttclark, mordauk, wonderboymusic.
Fixes #30970.

git-svn-id: https://develop.svn.wordpress.org/trunk@34089 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-12 20:57:06 +00:00
..
conditionals.php Allow is_page_template() to accept an array, as many other conditional tags do. 2015-03-12 16:27:06 +00:00
date.php Share fixtures across a number of query-related test classes. 2014-11-08 15:29:31 +00:00
dateQuery.php Introduced dayofweek_iso time param for WP_Date_Query. 2014-11-01 03:23:15 +00:00
isTerm.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
metaQuery.php Add tests for the conversion of 'meta_*' query vars to $meta_query objects in all query classes. 2015-03-07 16:34:50 +00:00
parseQuery.php Check that search value is scalar before parsing. 2014-10-16 03:31:27 +00:00
postStatus.php When querying for a specific post, allow posts with a non-public status to be returned as long as that status is specified. 2015-02-01 20:25:42 +00:00
results.php Query: 2015-08-22 16:58:21 +00:00
search.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
setupPostdata.php Allow setup_postdata() to accept a post ID. 2015-09-12 20:57:06 +00:00
stickies.php Add tests for some of WP_Query's sticky post logic. 2015-02-13 02:24:57 +00:00
taxQuery.php Use field-specific sanitization in WP_Tax_Query::transform_query(). 2015-02-06 02:01:24 +00:00
verboseRewriteRules.php Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00