From 59820e4608b87fcb6f6da23087b748fd16bc8c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 11 Jun 2013 15:45:00 +0200 Subject: [PATCH] Skip test if can not connect to MySQL server --- test/Environment_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Environment_test.php b/test/Environment_test.php index 83af26d058..b354e8feb0 100644 --- a/test/Environment_test.php +++ b/test/Environment_test.php @@ -59,7 +59,7 @@ class Environment_Test extends PHPUnit_Framework_TestCase ); } catch (Exception $e) { - $this->fail("Error: ".$e->getMessage()); + $this->markTestSkipped("Error: ".$e->getMessage()); } // Check id MySQL server is 5 version