mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-33117 Whitespace fixes
This commit is contained in:
parent
4090cd2b92
commit
5696c69b3b
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class gradereportuserlib_testcase extends advanced_testcase {
|
||||||
/**
|
/**
|
||||||
* Tests grade_report_user::inject_rowspans()
|
* Tests grade_report_user::inject_rowspans()
|
||||||
*
|
*
|
||||||
* inject_rowspans() returns the count of the number of elements, sets maxdepth on the
|
* inject_rowspans() returns the count of the number of elements, sets maxdepth on the
|
||||||
* report object and sets the rowspan property on any element that has children.
|
* report object and sets the rowspan property on any element that has children.
|
||||||
*/
|
*/
|
||||||
public function test_inject_rowspans() {
|
public function test_inject_rowspans() {
|
||||||
|
@ -63,7 +63,7 @@ class gradereportuserlib_testcase extends advanced_testcase {
|
||||||
$teacher = $this->getDataGenerator()->create_user(array('username' => 'Teacher T'));
|
$teacher = $this->getDataGenerator()->create_user(array('username' => 'Teacher T'));
|
||||||
$role = $DB->get_record('role', array('shortname' => 'editingteacher'), '*', MUST_EXIST);
|
$role = $DB->get_record('role', array('shortname' => 'editingteacher'), '*', MUST_EXIST);
|
||||||
$this->getDataGenerator()->enrol_user($teacher->id, $course->id, $role->id);
|
$this->getDataGenerator()->enrol_user($teacher->id, $course->id, $role->id);
|
||||||
|
|
||||||
// An array so we can test with both users in a loop.
|
// An array so we can test with both users in a loop.
|
||||||
$users = array($student, $teacher);
|
$users = array($student, $teacher);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue