From: skodak Date: Fri, 13 Jun 2008 08:48:24 +0000 (+0000) Subject: MDL-14905 towards functional DB tests X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d19c1ab67608f64b105a82d273d09a6fc7f05677;p=moodle.git MDL-14905 towards functional DB tests --- diff --git a/admin/report/simpletest/dbtest.php b/admin/report/simpletest/dbtest.php index b123cea95f..4361ea296a 100644 --- a/admin/report/simpletest/dbtest.php +++ b/admin/report/simpletest/dbtest.php @@ -45,7 +45,7 @@ for ($i=1; $i<=10; $i++) { continue; } list($library, $driver, $dbhost, $dbuser, $dbpass, $dbname, $dbpersist, $prefix, $dboptions) = $CFG->$name; - $dbinfos[$i] = array('name'=>"External database $i ($library/$driver/$dbhost/$dbname)", 'installed'=>false, 'configured'=>false); + $dbinfos[$i] = array('name'=>"External database $i ($library/$driver/$dbhost/$dbname/$prefix)", 'installed'=>false, 'configured'=>false); $classname = "{$driver}_{$library}_moodle_database"; require_once("$CFG->libdir/dml/$classname.php"); @@ -84,6 +84,7 @@ if (!empty($tests)) { // Make the reporter, which is what displays the results. $reporter = new ExHtmlReporter($showpasses); + set_time_limit(300); $test->run($reporter); unset($UNITTEST->func_test_db);