mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-61875 tests: Use existing component & support $CFG->admin
This commit is contained in:
parent
7aeb85770f
commit
a706fd79a5
1 changed files with 1 additions and 1 deletions
|
@ -803,6 +803,6 @@ class core_component_testcase extends advanced_testcase {
|
|||
// Check a few of the known plugin types to confirm their presence at their respective type index.
|
||||
$this->assertEquals($componentslist['core']['core_comment'], $CFG->dirroot . '/comment');
|
||||
$this->assertEquals($componentslist['mod']['mod_forum'], $CFG->dirroot . '/mod/forum');
|
||||
$this->assertEquals($componentslist['tool']['tool_analytics'], $CFG->dirroot . '/admin/tool/analytics');
|
||||
$this->assertEquals($componentslist['tool']['tool_usertours'], $CFG->dirroot . '/' . $CFG->admin . '/tool/usertours');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue