gradebook MDL-24330 added a little visual of the structure of the grade categories created by the unit tests

This commit is contained in:
Andrew Davis 2010-10-12 05:51:17 +00:00
parent 6d35a09b0b
commit d84e7b7a94

View File

@ -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;