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:
mark_story 2008-07-24 23:55:15 +00:00
parent 5dc4388fa0
commit 6add903d84

View file

@ -1767,7 +1767,7 @@ class ValidationTestCase extends CakeTestCase {
$this->assertTrue(Validation::multiple(array(0, 5, 10, 11), array('max' => 3))); $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->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->assertFalse(Validation::multiple(array('foo', 'bar', 'baz', 'squirrel'), array('max' => 3)));
$this->assertTrue(Validation::multiple(array(0, 5, 10, 11), array('min' => 3))); $this->assertTrue(Validation::multiple(array(0, 5, 10, 11), array('min' => 3)));