Don't halt, just skip, if db hasn't been configured.
authorJan Schneider <jan@horde.org>
Mon, 13 Sep 2010 14:17:23 +0000 (16:17 +0200)
committerJan Schneider <jan@horde.org>
Mon, 13 Sep 2010 14:17:23 +0000 (16:17 +0200)
framework/Db/test/Horde/Db/Adapter/MysqlSuite.php

index 4792e5a..7844800 100644 (file)
@@ -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) {