[wp-trac] [WordPress Trac] #29718: Improved coverage for WP_Tax_Query unit tests

WordPress Trac noreply at wordpress.org
Wed Oct 8 04:15:02 UTC 2014


#29718: Improved coverage for WP_Tax_Query unit tests
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  enhancement   |      Status:  reopened
 Priority:  normal        |   Milestone:  4.1
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------

Comment (by jorbin):

 Tests_Post_Query::test_tax_query_single_query_multiple_terms_operator_in
 is inconsistantly  failing due to the ordering of the results.  As this is
 not consistant, i tend to think it is a timing issue on travis-ci and not
 an actual bug.

 The above patch uses assertEqualSets since what matters isn't the order as
 much as the results.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29718#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list