mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
test for the change
This commit is contained in:
parent
c729a0c4ac
commit
05b5c40515
@ -616,6 +616,13 @@ class ValidateTest extends BaseTestCase
|
|||||||
$v->rule('slug', 'test');
|
$v->rule('slug', 'test');
|
||||||
$this->assertFalse($v->validate());
|
$this->assertFalse($v->validate());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testNoErrorFailOnArray()
|
||||||
|
{
|
||||||
|
$v = new Validator(array('test' => []));
|
||||||
|
$v->rule('slug', 'test');
|
||||||
|
$this->assertFalse($v->validate());
|
||||||
|
}
|
||||||
|
|
||||||
public function testRegexValid()
|
public function testRegexValid()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user