From 5283b8cd2f1e4eadfea79fc33cc494cf070efcbb Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 13 Sep 2010 16:17:23 +0200 Subject: [PATCH] Don't halt, just skip, if db hasn't been configured. --- framework/Db/test/Horde/Db/Adapter/MysqlSuite.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php b/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php index 4792e5afe..7844800da 100644 --- a/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php +++ b/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php @@ -34,7 +34,9 @@ class Horde_Db_Adapter_MysqlSuite extends PHPUnit_Framework_TestSuite list($conn,) = $suite->getConnection(); $skip = false; $conn->disconnect(); - } catch (Exception $e) {var_dump($e); exit;} + } catch (Exception $e) { + echo $e->getMessage() . "\n"; + } } if ($skip) { -- 2.11.0