Opened 13 years ago
Closed 13 years ago
#26345 closed defect (bug) (fixed)
Failure in Tests_Post_Query::test_meta_query_decimal_results()
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Unit Tests | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 26490: