We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bcf6ef commit d2ca4b5Copy full SHA for d2ca4b5
tests/library/Respect/Validation/Rules/ZendTest.php
@@ -7,10 +7,9 @@ class ZendTest extends \PHPUnit_Framework_TestCase
7
{
8
public function testZendDependency()
9
10
- $this->assertTrue(
11
- class_exists('\Zend\Validator\Date'),
12
- 'Zend Framework 2 Validator not installed.'
13
- );
+ if (false === class_exists('\Zend\Validator\Date')) {
+ $this->markTestSkipped('Zend Framework 2 Validator not installed.');
+ }
14
}
15
16
/**
0 commit comments