mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-15 01:24:17 +02:00
skip test instead of throw an error
This commit is contained in:
@@ -26,7 +26,7 @@ class AmqpHandlerTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!class_exists('AMQPChannel')) {
|
if (!class_exists('AMQPChannel')) {
|
||||||
throw new \Exception(' Please update AMQP to version >= 1');
|
$this->markTestSkipped("Please update AMQP to version >= 1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user