Skip to content

Commit

Permalink
Merge branch 'MDL-58465-master' of git://github.com/ankitagarwal/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 17, 2017
2 parents 0bb4ee0 + 75c597d commit a9d3bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions course/tests/externallib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ public function test_create_courses() {
$course3options['numsections']);
$this->assertEquals($courseinfo->coursedisplay, $course3options['coursedisplay']);
} else {
throw moodle_exception('Unexpected shortname');
throw new moodle_exception('Unexpected shortname');
}
}

Expand Down Expand Up @@ -1161,7 +1161,7 @@ public function test_update_courses() {
$this->assertEquals(0, $courseinfo->newsitems);
$this->assertEquals(FORMAT_MOODLE, $courseinfo->summaryformat);
} else {
throw moodle_exception('Unexpected shortname');
throw new moodle_exception('Unexpected shortname');
}
}

Expand Down

0 comments on commit a9d3bf7

Please sign in to comment.