MDL-21015 testreportlib migrated to UnitTestCaseUsingDatabase. Easy one!

This commit is contained in:
Eloy Lafuente 2009-12-01 23:05:08 +00:00
parent 8eb321419f
commit 5dc8870fa6

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