mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
Merge branch 'MDL-61068-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
f9b3597e21
@ -881,8 +881,8 @@ class mod_forum_lib_testcase extends advanced_testcase {
|
||||
// Adding timed discussions.
|
||||
$CFG->forum_enabletimedposts = true;
|
||||
$now = $record->timemodified;
|
||||
$past = $now - 60;
|
||||
$future = $now + 60;
|
||||
$past = $now - 600;
|
||||
$future = $now + 600;
|
||||
|
||||
$record = new stdClass();
|
||||
$record->course = $course->id;
|
||||
@ -1125,8 +1125,8 @@ class mod_forum_lib_testcase extends advanced_testcase {
|
||||
// Adding timed discussions.
|
||||
$CFG->forum_enabletimedposts = true;
|
||||
$now = $record->timemodified;
|
||||
$past = $now - 60;
|
||||
$future = $now + 60;
|
||||
$past = $now - 600;
|
||||
$future = $now + 600;
|
||||
|
||||
$record = new stdClass();
|
||||
$record->course = $course->id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user