From 6a86fa4444dc34902c6ed1589c5c5006e03394ea Mon Sep 17 00:00:00 2001 From: pomaxa Date: Wed, 13 Jun 2012 17:53:55 +0300 Subject: [PATCH] skip test instead of throw an error --- tests/Monolog/Handler/AmqpHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Monolog/Handler/AmqpHandlerTest.php b/tests/Monolog/Handler/AmqpHandlerTest.php index 5a817bcd..e0b11fc5 100644 --- a/tests/Monolog/Handler/AmqpHandlerTest.php +++ b/tests/Monolog/Handler/AmqpHandlerTest.php @@ -26,7 +26,7 @@ class AmqpHandlerTest extends TestCase } if (!class_exists('AMQPChannel')) { - throw new \Exception(' Please update AMQP to version >= 1'); + $this->markTestSkipped("Please update AMQP to version >= 1"); } }