mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-35109 Improve unittests for cron based fetching of available updates
The expected behaviour is as follows: * If the recently fetched data is older than 48 hours, it is considered as outdated and the new fetch is executed * else, if the recently fetched data is younger than 24 hours, it is considered as fresh enough and no fetch is executed * else, if the current time is after 01:00 AM plus a certain offset (which is randomly generated for each site), the fetch is executed.
- Loading branch information
Showing
1 changed file
with
38 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters