From: tjhunt Date: Tue, 3 Mar 2009 07:44:30 +0000 (+0000) Subject: Fix unit tests. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a5bc73aa74b377e844d70d62cd7ade9b0393d698;p=moodle.git Fix unit tests. --- diff --git a/question/type/numerical/simpletest/testquestiontype.php b/question/type/numerical/simpletest/testquestiontype.php index 396e0435a3..4bd9275fff 100644 --- a/question/type/numerical/simpletest/testquestiontype.php +++ b/question/type/numerical/simpletest/testquestiontype.php @@ -14,7 +14,7 @@ if (!defined('MOODLE_INTERNAL')) { require_once($CFG->dirroot . '/question/type/numerical/questiontype.php'); -class question_numerical_qtype_test extends FakeDBUnitTestCase { +class question_numerical_qtype_test extends UnitTestCase { var $tolerance = 0.00000001; var $qtype; diff --git a/question/type/shortanswer/simpletest/testquestiontype.php b/question/type/shortanswer/simpletest/testquestiontype.php index f9dcacd095..288ec7c432 100644 --- a/question/type/shortanswer/simpletest/testquestiontype.php +++ b/question/type/shortanswer/simpletest/testquestiontype.php @@ -14,7 +14,7 @@ if (!defined('MOODLE_INTERNAL')) { require_once($CFG->dirroot . '/question/type/questiontype.php'); -class question_shortanswer_qtype_test extends FakeDBUnitTestCase { +class question_shortanswer_qtype_test extends UnitTestCase { var $qtype; function setUp() {