Opened 11 years ago
Closed 11 years ago
#26345 closed defect (bug) (fixed)
Failure in Tests_Post_Query::test_meta_query_decimal_results()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Unit Tests | Keywords: | |
Focuses: | Cc: |
Description
The test sometimes fails due to different order of items in the array:
1) Tests_Post_Query::test_meta_query_decimal_results Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 0 => 3 - 1 => 4 - 2 => 5 + 0 => 5 + 1 => 3 + 2 => 4 )
Since we don't specify an order there, assertEqualSets()
should be used instead of direct array comparison.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 26490: