MDL-65233 course: add reset time shift test with non-midnight hour
This commit is contained in:
@@ -3697,7 +3697,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,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user