mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-58465-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
a9d3bf7666
@ -484,7 +484,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
|
||||
$course3options['numsections']);
|
||||
$this->assertEquals($courseinfo->coursedisplay, $course3options['coursedisplay']);
|
||||
} else {
|
||||
throw moodle_exception('Unexpected shortname');
|
||||
throw new moodle_exception('Unexpected shortname');
|
||||
}
|
||||
}
|
||||
|
||||
@ -1161,7 +1161,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
|
||||
$this->assertEquals(0, $courseinfo->newsitems);
|
||||
$this->assertEquals(FORMAT_MOODLE, $courseinfo->summaryformat);
|
||||
} else {
|
||||
throw moodle_exception('Unexpected shortname');
|
||||
throw new moodle_exception('Unexpected shortname');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user