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'