From e9382d08972b9d483bab775a5b06f3d8262b4a10 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Wed, 10 Aug 2011 21:40:53 -0400 Subject: [PATCH] Fixing failing tests. --- lib/Cake/Test/Case/View/Helper/FormHelperTest.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php index b0a9240cd..d82dfbc16 100644 --- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php @@ -1703,7 +1703,7 @@ class FormHelperTest extends CakeTestCase { 'label' => array('for'), 'Balance', '/label', - 'input' => array('name', 'type' => 'text', 'maxlength' => 8, 'id'), + 'input' => array('name', 'type' => 'number', 'maxlength' => 8, 'id'), '/div', ); $this->assertTags($result, $expected); @@ -2508,6 +2508,8 @@ class FormHelperTest extends CakeTestCase { '*/div', array('div' => array('class' => 'input datetime')), '*/div', + array('div' => array('class' => 'input number')), + '*/div', array('div' => array('class' => 'input select')), '*/div', ); @@ -2531,6 +2533,8 @@ class FormHelperTest extends CakeTestCase { '*/div', array('div' => array('class' => 'input datetime')), '*/div', + array('div' => array('class' => 'input number')), + '*/div', array('div' => array('class' => 'input select')), '*/div', ); @@ -2555,6 +2559,8 @@ class FormHelperTest extends CakeTestCase { '*/div', array('div' => array('class' => 'input datetime')), '*/div', + array('div' => array('class' => 'input number')), + '*/div', array('div' => array('class' => 'input select')), '*/div', '/fieldset' @@ -2579,6 +2585,8 @@ class FormHelperTest extends CakeTestCase { '*/div', array('div' => array('class' => 'input datetime')), '*/div', + array('div' => array('class' => 'input number')), + '*/div', array('div' => array('class' => 'input select')), '*/div', ); @@ -2606,6 +2614,8 @@ class FormHelperTest extends CakeTestCase { '*/div', array('div' => array('class' => 'input datetime')), '*/div', + array('div' => array('class' => 'input number')), + '*/div', array('div' => array('class' => 'input select')), '*/div', '/fieldset' @@ -2634,6 +2644,8 @@ class FormHelperTest extends CakeTestCase { '*/div', array('div' => array('class' => 'input datetime')), '*/div', + array('div' => array('class' => 'input number')), + '*/div', array('div' => array('class' => 'input select')), '*/div', '/fieldset'