Skip to content

Commit

Permalink
MDL-61875 tests: Use existing component & support $CFG->admin
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 10, 2018
1 parent 7aeb857 commit a706fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/component_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,6 @@ public function test_get_component_list_contains_all_components() {
// 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');
}
}

0 comments on commit a706fd7

Please sign in to comment.