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"); } }