MDL-32547 unit tests: Make tests match file_temp_cleanup_task impl.
commit02badbb0e6b558c05fd105af6d0db449c223942a
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 30 Mar 2015 23:53:56 +0000 (31 01:53 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 30 Mar 2015 23:53:56 +0000 (31 01:53 +0200)
tree74a0e7d9b166c89d071706fa886eff623a6fe008
parent68632b6d80f18106fd48f5f4ea28c3ec1f6dea67
MDL-32547 unit tests: Make tests match file_temp_cleanup_task impl.

While default value did not change from 7 days... there are subtle
differences between strtotime('-1 week') used in tests and
-(7*24**3600) used in implementation.

This just makes the unit test to follow the implementation by
using the new config setting.
lib/tests/cronlib_test.php