From 6add903d84d1d67bb420d4e431276d097ca80ee7 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 24 Jul 2008 23:55:15 +0000 Subject: [PATCH] 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 --- cake/tests/cases/libs/validation.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/validation.test.php b/cake/tests/cases/libs/validation.test.php index 5d68c9cc0..ccbb23865 100644 --- a/cake/tests/cases/libs/validation.test.php +++ b/cake/tests/cases/libs/validation.test.php @@ -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)));