From d19c1ab67608f64b105a82d273d09a6fc7f05677 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 13 Jun 2008 08:48:24 +0000 Subject: [PATCH] MDL-14905 towards functional DB tests --- admin/report/simpletest/dbtest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5