[wp-trac] [WordPress Trac] #25834: WP_Date_Query not allowed values possible
WordPress Trac
noreply at wordpress.org
Thu Oct 16 21:16:24 UTC 2014
#25834: WP_Date_Query not allowed values possible
----------------------------------+---------------------------
Reporter: ChriCo | Owner: boonebgorges
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.1
Component: Query | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-docs | Focuses:
----------------------------------+---------------------------
Changes (by jorbin):
* status: closed => reopened
* resolution: fixed =>
Comment:
A number of unit tests are broken from this change. see: https://travis-
ci.org/aaronjorbin/develop.wordpress/builds/38195399
1) Tests_Canonical::test with data set #47 ('/2012/11/51/', '/2012/11/')
Unexpected incorrect usage notice for WP_Date_Query
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:223
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:59
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/canonical.php:88
/home/travis/.phpenv/versions/5.2.17/bin/phpunit:46
2) Tests_Canonical_HTTPS::test with data set #47 ('/2012/11/51/',
'/2012/11/')
Unexpected incorrect usage notice for WP_Date_Query
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:223
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:59
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/canonical.php:88
/home/travis/.phpenv/versions/5.2.17/bin/phpunit:46
3) Tests_Meta_Query::test_invalid_query_clauses
Failed asserting that Array (
0 => 'foo'
'relation' => 'OR'
) is identical to Array ().
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/meta/query.php:43
/home/travis/.phpenv/versions/5.2.17/bin/phpunit:46
4) Tests_Query_Conditionals::test_bad_dates
Unexpected incorrect usage notice for WP_Date_Query
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:223
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:59
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/query/conditionals.php:37
/home/travis/.phpenv/versions/5.2.17/bin/phpunit:46
5) Tests_Query_Results::test_query_is_date
Unexpected incorrect usage notice for WP_Date_Query
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:223
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:59
/home/travis/.phpenv/versions/5.2.17/bin/phpunit:46
6) Tests_Query_VerbosePageRules::test_bad_dates
Unexpected incorrect usage notice for WP_Date_Query
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:223
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/includes/testcase.php:59
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/query/conditionals.php:37
/home/travis/.phpenv/versions/5.2.17/bin/phpunit:46
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25834#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list