Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing failing tests.

  • Loading branch information...
commit e9382d08972b9d483bab775a5b06f3d8262b4a10 1 parent 8d8d64a
@markstory markstory authored
Showing with 13 additions and 1 deletion.
  1. +13 −1 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
View
14 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -1703,7 +1703,7 @@ public function testInput() {
'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 @@ public function testFormInputs() {
'*/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 @@ public function testFormInputs() {
'*/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 @@ public function testFormInputs() {
'*/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 @@ public function testFormInputs() {
'*/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 @@ public function testFormInputs() {
'*/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 @@ public function testFormInputs() {
'*/div',
array('div' => array('class' => 'input datetime')),
'*/div',
+ array('div' => array('class' => 'input number')),
+ '*/div',
array('div' => array('class' => 'input select')),
'*/div',
'/fieldset'
Please sign in to comment.
Something went wrong with that request. Please try again.