wordpress-develop/tests/phpunit/tests/query
Felix Arntz d4a77a394c Build/Test Tools: Fix unstable query tests.
Three `WP_Query` tests could randomly fail due to an undefined order because two test posts were using the exact same `post_date`.

Props boonebgorges, flixos90.
Fixes #60288.


git-svn-id: https://develop.svn.wordpress.org/trunk@57308 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-18 18:38:23 +00:00
..
cacheResults.php Query: Cache post parent IDs in posts group. 2023-10-12 23:39:05 +00:00
commentCount.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:01:14 +00:00
commentFeed.php Tests: Use the function get_num_queries across all unit tests. 2023-05-11 10:05:51 +00:00
conditionals.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:21:02 +00:00
date.php Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
dateQuery.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
fieldsClause.php Coding Standards: Add visibility to properties in tests/phpunit/tests/. 2022-11-29 12:40:08 +00:00
generatePostdata.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +00:00
invalidQueries.php Query: Ensure that the page parameter is scalar in WP_Query::get_posts(). 2023-10-10 11:20:28 +00:00
isTerm.php Build/Test Tools: Reset main query object after each test. 2023-07-11 13:31:03 +00:00
lazyLoadCommentMeta.php Comments: Deprecate wp_queue_comments_for_comment_meta_lazyload function. 2023-05-25 10:29:39 +00:00
lazyLoadTermMeta.php Taxonomy: Always lazily load term meta. 2023-04-21 09:22:04 +00:00
metaQuery.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:01:14 +00:00
noFoundRows.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
parseQuery.php Query: Be better at forcing data types for query vars. 2022-08-13 22:29:19 +00:00
postStatus.php Tests: Correct references to set_up() and tear_down() in various DocBlocks. 2022-11-22 21:25:27 +00:00
results.php Build/Test Tools: Fix unstable query tests. 2024-01-18 18:38:23 +00:00
search.php Media: Refactor search by filename within the admin. 2022-10-17 11:17:38 +00:00
searchColumns.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
setupPostdata.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +00:00
stickies.php General: Use static on closures whenever $this is not used to avoid memory leaks. 2023-05-17 22:44:21 +00:00
taxQuery.php Tests: Make sure the correct query is tested for term limits in taxonomy queries. 2023-03-04 11:50:26 +00:00
vars.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
verboseRewriteRules.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00