Skip to content

Commit

Permalink
gradebook MDL-24330 added a little visual of the structure of the gra…
Browse files Browse the repository at this point in the history
…de categories created by the unit tests
  • Loading branch information
Andrew Davis committed Oct 12, 2010
1 parent 6d35a09 commit d84e7b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/simpletest/fixtures/gradetest.php
Expand Up @@ -172,6 +172,16 @@ function load_scale() {

/**
* 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;
Expand Down

0 comments on commit d84e7b7

Please sign in to comment.