Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Zend\Validator\Alnum does not exist

  • Loading branch information...
commit 0580308f685c27e7db7a2d3c4952528fbfad285f 1 parent b3aaa8c
@nickl- nickl- authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/library/Respect/Validation/Rules/ZendTest.php
View
6 tests/library/Respect/Validation/Rules/ZendTest.php
@@ -7,7 +7,7 @@ class ZendTest extends \PHPUnit_Framework_TestCase
public function setUp()
{
- if (!class_exists('Zend\Validator\AbstractValidator')) {
+ if (!class_exists('\Zend\Validator\Alnum')) {
$this->markTestSkipped('No ZendFramework installed');
}
}
@@ -72,8 +72,8 @@ public function testParamsNot()
}
-if (class_exists('Zend\Validator\AbstractValidator')) {
+if (class_exists('Zend\Validator\Alnum')) {
class MyValidator extends \Zend\Validator\Alnum
{
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.