mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
gradebook MDL-24330 added a little visual of the structure of the grade categories created by the unit tests
This commit is contained in:
parent
6d35a09b0b
commit
d84e7b7a94
@ -172,6 +172,16 @@ class grade_test extends UnitTestCaseUsingDatabase {
|
||||
|
||||
/**
|
||||
* Load grade_category data into the database, and adds the corresponding objects to this class' variable.
|
||||
* category structure:
|
||||
course category
|
||||
|
|
||||
+--------+-------------+
|
||||
| |
|
||||
unittestcategory1 level1category
|
||||
|
|
||||
+--------+-------------+
|
||||
| |
|
||||
unittestcategory2 unittestcategory3
|
||||
*/
|
||||
function load_grade_categories() {
|
||||
global $DB;
|
||||
|
Loading…
x
Reference in New Issue
Block a user