mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 04:01:40 +01:00
Without this change its possible that the unit tests will fail at any time. Before this change the indexing time is measured by real-time, not fake time, making all index timings 0. This happens as PHP offers no guarantee around the sort-order of an array for any given two members that equate as equal. It just happens to pass for the current array of search areas in vanilla Moodle.