diff --git a/tests/library/Respect/Validation/Rules/ZendTest.php b/tests/library/Respect/Validation/Rules/ZendTest.php index 9df9dff4f..9333488e6 100644 --- a/tests/library/Respect/Validation/Rules/ZendTest.php +++ b/tests/library/Respect/Validation/Rules/ZendTest.php @@ -7,10 +7,9 @@ class ZendTest extends \PHPUnit_Framework_TestCase { public function testZendDependency() { - $this->assertTrue( - class_exists('\Zend\Validator\Date'), - 'Zend Framework 2 Validator not installed.' - ); + if (false === class_exists('\Zend\Validator\Date')) { + $this->markTestSkipped('Zend Framework 2 Validator not installed.'); + } } /**