mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Corrected key in validation::multiple test. closes #5146
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7362 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5dc4388fa0
commit
6add903d84
1 changed files with 1 additions and 1 deletions
|
@ -1767,7 +1767,7 @@ class ValidationTestCase extends CakeTestCase {
|
|||
|
||||
$this->assertTrue(Validation::multiple(array(0, 5, 10, 11), array('max' => 3)));
|
||||
$this->assertFalse(Validation::multiple(array(0, 5, 10, 11, 55), array('max' => 3)));
|
||||
$this->assertTrue(Validation::multiple(array('foo', 'bar', 'baz'), array('limit' => 3)));
|
||||
$this->assertTrue(Validation::multiple(array('foo', 'bar', 'baz'), array('max' => 3)));
|
||||
$this->assertFalse(Validation::multiple(array('foo', 'bar', 'baz', 'squirrel'), array('max' => 3)));
|
||||
|
||||
$this->assertTrue(Validation::multiple(array(0, 5, 10, 11), array('min' => 3)));
|
||||
|
|
Loading…
Add table
Reference in a new issue