wordpress-develop/tests/phpunit/tests/query
Boone Gorges ce350d5d5d Tests: More explicit fixture content when testing s=0 query string.
After [36647], the unit test generator sequence can put a 0 into the
'post_excerpt' field of a post fixture, causing false positives.

See [36520] for a parallel fix involving 'post_content'.

Fixes #36622.

git-svn-id: https://develop.svn.wordpress.org/trunk@37280 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-21 15:52:33 +00:00
..
conditionals.php Query: is_*( $int ) should not falsely match strings starting with "$int". 2016-02-23 02:20:28 +00:00
date.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
dateQuery.php Remove erroneous return in date_query test. 2016-02-29 22:40:20 +00:00
isTerm.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
metaQuery.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
parseQuery.php Check that search value is scalar before parsing. 2014-10-16 03:31:27 +00:00
postStatus.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
results.php Feeds: Comments on attachments display in the site-wide comments RSS feed. 2015-12-31 17:15:23 +00:00
search.php Tests: More explicit fixture content when testing s=0 query string. 2016-04-21 15:52:33 +00:00
setupPostdata.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
stickies.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
taxQuery.php Use LEFT JOIN when building WP_Tax_Query SQL. 2016-04-12 20:36:31 +00:00
vars.php Query: Re-initialise any dynamically-added public query vars before running the public query vars test. 2015-12-21 06:59:05 +00:00
verboseRewriteRules.php Tests: Permalink Structures Phase II: DRY up logic for setting permalink structures in test methods. 2015-10-03 20:54:11 +00:00