mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
fix for test codes
This commit is contained in:
parent
bc035a4a95
commit
cb1ecb12e6
@ -141,7 +141,7 @@ class ValidateTest extends BaseTestCase
|
|||||||
|
|
||||||
public function testIntegerWithMaxValidation()
|
public function testIntegerWithMaxValidation()
|
||||||
{
|
{
|
||||||
$v = new Validator(array('num' => '4212341569'));
|
$v = new Validator(array('num' => ' 4212341569'));
|
||||||
$v->rule('integer', 'num');
|
$v->rule('integer', 'num');
|
||||||
$v->rule('max', 'num', 1000);
|
$v->rule('max', 'num', 1000);
|
||||||
$this->assertFalse($v->validate());
|
$this->assertFalse($v->validate());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user