Fixing failing tests.

This commit is contained in:
Mark Story 2011-08-10 21:40:53 -04:00
parent 8d8d64ac80
commit e9382d0897

View file

@ -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'