From a5bc73aa74b377e844d70d62cd7ade9b0393d698 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 3 Mar 2009 07:44:30 +0000 Subject: [PATCH] Fix unit tests. --- question/type/numerical/simpletest/testquestiontype.php | 2 +- question/type/shortanswer/simpletest/testquestiontype.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() { -- 2.39.5