MDL-19786 Renamed user_picture and action_icon component classes to moodle_user_picture and moodle_action_icon. Also moved around the classes in a more logical order in outputcomponents.php
This commit is contained in:
@@ -1187,7 +1187,7 @@ class moodle_core_renderer_test extends UnitTestCase {
|
||||
$this->assert(new ContainsTagWithContents('option', 'value3'), $html);
|
||||
$this->assert(new ContainsTagWithContents('option', 'value4'), $html);
|
||||
}
|
||||
|
||||
|
||||
public function test_userpicture() {
|
||||
global $CFG;
|
||||
// Set up the user with the required fields
|
||||
@@ -1197,7 +1197,7 @@ class moodle_core_renderer_test extends UnitTestCase {
|
||||
$user->picture = false;
|
||||
$user->imagealt = false;
|
||||
$user->id = 1;
|
||||
$userpic = new user_picture();
|
||||
$userpic = new moodle_user_picture();
|
||||
$userpic->user = $user;
|
||||
$userpic->courseid = 1;
|
||||
$userpic->url = true;
|
||||
|
||||
Reference in New Issue
Block a user