Opened 11 years ago
Closed 11 years ago
#25633 closed defect (bug) (fixed)
Tests_XMLRPC_wp_getPosts::test_filters failing
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Unit Tests | Keywords: | |
Focuses: | Cc: |
Description
I get the following error when running the tests:
1) Tests_XMLRPC_wp_getPosts::test_filters Failed asserting that 11 matches expected 0. /Users/atimmer/Sites/wp-core/tests/phpunit/tests/xmlrpc/wp/getPosts.php:89
It fails because it loops through the posts and returns posts by offset. Because it sorts by post_date and the post_dates are identical. I fixes it by sorting by ID instead.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Fixed in [26087].