MDL-15808 changed prefix to tst_ and added dboptions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user