diff --git a/tests/ZendDiagnosticsTest/ChecksTest.php b/tests/ZendDiagnosticsTest/ChecksTest.php index 4669427..528f2f8 100644 --- a/tests/ZendDiagnosticsTest/ChecksTest.php +++ b/tests/ZendDiagnosticsTest/ChecksTest.php @@ -52,7 +52,7 @@ public function testRabbitMQ() $this->assertInstanceOf('ZendDiagnostics\Result\Success', $result); $check = new RabbitMQ('127.0.0.250', 9999); - $this->setExpectedException('PhpAmqpLib\Exception\AMQPRuntimeException'); + $this->setExpectedException('\ErrorException'); $check->check(); }