From: nicolasconnault Date: Fri, 25 Jul 2008 06:56:33 +0000 (+0000) Subject: MDL-15808 changed prefix to tst_ and added dboptions X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a95c68a1885fd69d34afa1fa594da4a6530ad723;p=moodle.git MDL-15808 changed prefix to tst_ and added dboptions --- diff --git a/lib/simpletest/fixtures/gradetest.php b/lib/simpletest/fixtures/gradetest.php index 43e3422b6c..ee02310d43 100644 --- a/lib/simpletest/fixtures/gradetest.php +++ b/lib/simpletest/fixtures/gradetest.php @@ -88,7 +88,7 @@ class grade_test extends UnitTestCase { if (is_null(grade_test::$db)) { $this->realdb = $DB; grade_test::$db = moodle_database::get_driver($CFG->dbtype, $CFG->dblibrary); - grade_test::$db->connect($CFG->dbhost, $CFG->dbuser, $CFG->dbpass, $CFG->dbname, $CFG->dbpersist, "mdl_unittest_"); + grade_test::$db->connect($CFG->dbhost, $CFG->dbuser, $CFG->dbpass, $CFG->dbname, $CFG->dbpersist, "tst_", $CFG->dboptions); } $DB = grade_test::$db;