From: Jan Schneider Date: Mon, 13 Sep 2010 14:17:23 +0000 (+0200) Subject: Don't halt, just skip, if db hasn't been configured. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5283b8cd2f1e4eadfea79fc33cc494cf070efcbb;p=horde.git Don't halt, just skip, if db hasn't been configured. --- 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) {