mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +00:00
Remove unneeded test testIntegerWithMaxValidation
This commit is contained in:
parent
28d954817b
commit
1942e53a5c
@ -153,14 +153,6 @@ class ValidateTest extends BaseTestCase
|
|||||||
$this->assertFalse($v->validate());
|
$this->assertFalse($v->validate());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testIntegerWithMaxValidation()
|
|
||||||
{
|
|
||||||
$v = new Validator(array('num' => ' 4212341569'));
|
|
||||||
$v->rule('integer', 'num', true);
|
|
||||||
$v->rule('max', 'num', 1000);
|
|
||||||
$this->assertFalse($v->validate());
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testLengthValid()
|
public function testLengthValid()
|
||||||
{
|
{
|
||||||
$v = new Validator(array('str' => 'happy'));
|
$v = new Validator(array('str' => 'happy'));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user