From d84e7b7a94ec9d1f4a7ae04e2a044fd4480cd6f2 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Tue, 12 Oct 2010 05:51:17 +0000 Subject: [PATCH] gradebook MDL-24330 added a little visual of the structure of the grade categories created by the unit tests --- lib/simpletest/fixtures/gradetest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/simpletest/fixtures/gradetest.php b/lib/simpletest/fixtures/gradetest.php index f7748ac5040..a8fe7ec18b1 100644 --- a/lib/simpletest/fixtures/gradetest.php +++ b/lib/simpletest/fixtures/gradetest.php @@ -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;