1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

MDL-47690 Course: Remove unused variable from unit tests.

This commit is contained in:
Damyon Wiese 2014-10-27 11:26:35 +08:00
parent d2dbc373f8
commit ae0711d861

@ -591,7 +591,6 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
$labelcm = get_coursemodule_from_instance('label', $label->id);
$url = $this->getDataGenerator()->create_module('url', array('course' => $course->id,
'name' => 'URL: % & $ ../'));
$urlcm = get_coursemodule_from_instance('url', $url->id);
// Set the required capabilities by the external function.
$context = context_course::instance($course->id);