mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-65233 course: add reset time shift test with non-midnight hour
This commit is contained in:
parent
139a0ad5f0
commit
485ca23ba5
@ -3787,7 +3787,16 @@ final class courselib_test extends advanced_testcase {
|
||||
$time + YEARSECS,
|
||||
$time + WEEKSECS,
|
||||
$time + YEARSECS
|
||||
]
|
||||
],
|
||||
// Time shift is between exact times, not midnight(s) (MDL-65233).
|
||||
[
|
||||
$time + HOURSECS,
|
||||
$time + DAYSECS,
|
||||
$time + WEEKSECS + HOURSECS,
|
||||
false,
|
||||
$time + WEEKSECS + HOURSECS,
|
||||
$time + WEEKSECS + DAYSECS,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user