mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +00:00
really? 5.3 support? ewww
This commit is contained in:
parent
05b5c40515
commit
4896ade387
@ -619,7 +619,7 @@ class ValidateTest extends BaseTestCase
|
|||||||
|
|
||||||
public function testNoErrorFailOnArray()
|
public function testNoErrorFailOnArray()
|
||||||
{
|
{
|
||||||
$v = new Validator(array('test' => []));
|
$v = new Validator(array('test' => array()));
|
||||||
$v->rule('slug', 'test');
|
$v->rule('slug', 'test');
|
||||||
$this->assertFalse($v->validate());
|
$this->assertFalse($v->validate());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user