Skip to content

Commit

Permalink
Merge branch 'MDL-57658-master-integration-fix' of git://github.com/j…
Browse files Browse the repository at this point in the history
…unpataleta/moodle
  • Loading branch information
andrewnicols committed Mar 15, 2017
2 parents ef452d9 + 620ffac commit 484eeeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calendar/tests/rrule_manager_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public function test_every_300_days_forever() {
$mang = new rrule_manager($rrule);
$mang->parse_rrule();
$mang->create_events($this->event);
$records = $DB->get_records('event', array('repeatid' => $this->event->id));
$records = $DB->get_records('event', array('repeatid' => $this->event->id), 'timestart ASC');

$expecteddate = clone($startdatetime);
foreach ($records as $record) {
Expand Down Expand Up @@ -584,7 +584,7 @@ public function test_monthly_events_with_count_bymonthday() {
$mang = new rrule_manager($rrule);
$mang->parse_rrule();
$mang->create_events($this->event);
$records = $DB->get_records('event', array('repeatid' => $this->event->id));
$records = $DB->get_records('event', array('repeatid' => $this->event->id), 'timestart ASC');
$this->assertCount(3, $records);

$expecteddate = clone($startdatetime);
Expand Down

0 comments on commit 484eeeb

Please sign in to comment.