MDL-21015 testreportlib migrated to UnitTestCaseUsingDatabase. Easy one!
authorEloy Lafuente <stronk7@moodle.org>
Tue, 1 Dec 2009 23:05:08 +0000 (23:05 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Tue, 1 Dec 2009 23:05:08 +0000 (23:05 +0000)
grade/simpletest/testreportlib.php

index 5950728..f7af0b2 100644 (file)
@@ -33,7 +33,7 @@ require_once($CFG->dirroot.'/grade/report/lib.php');
 /**
  * @TODO create a set of mock objects to simulate the database operations. We don't want to connect to any real sql server.
  */
-class gradereportlib_test extends FakeDBUnitTestCase {
+class gradereportlib_test extends UnitTestCaseUsingDatabase {
     var $courseid = 1;
     var $context = null;
     var $report = null;