Skip to content

Commit

Permalink
Tests updated for new output of FormHelper::input
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information
ceeram authored and markstory committed Nov 2, 2009
1 parent 44d7742 commit a377593
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions cake/tests/cases/libs/view/helpers/form.test.php
Expand Up @@ -3431,7 +3431,7 @@ function testDateTime() {
':',
array('select' => array('name' => 'data[Contact][date][min]', 'id' => 'ContactDateMin')),
$minutesRegex,
array('option' => array('value' => intval(date('i', $now)), 'selected' => 'selected')),
array('option' => array('value' => date('i', $now), 'selected' => 'selected')),
date('i', $now),
'/option',
'*/select',
Expand Down Expand Up @@ -3594,10 +3594,10 @@ function testDateTime() {
$minutesRegex,
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '0')),
array('option' => array('value' => '00')),
'00',
'/option',
array('option' => array('value' => '5')),
array('option' => array('value' => '05')),
'05',
'/option',
array('option' => array('value' => '10')),
Expand Down Expand Up @@ -3643,10 +3643,10 @@ function testDateTime() {
$minutesRegex,
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '0')),
array('option' => array('value' => '00')),
'00',
'/option',
array('option' => array('value' => '5')),
array('option' => array('value' => '05')),
'05',
'/option',
array('option' => array('value' => '10')),
Expand Down Expand Up @@ -3737,7 +3737,7 @@ function testDateTime() {
':',
array('select' => array('name' => 'data[Model][field][min]', 'id' => 'ModelFieldMin')),
$minutesRegex,
array('option' => array('value' => intval(date('i', $now)), 'selected' => 'selected')),
array('option' => array('value' => date('i', $now), 'selected' => 'selected')),
date('i', $now),
'/option',
'*/select',
Expand Down Expand Up @@ -4128,13 +4128,13 @@ function testMinute() {
array('select' => array('name' => 'data[Model][field][min]', 'id' => 'ModelFieldMin')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '0')),
array('option' => array('value' => '00')),
'00',
'/option',
array('option' => array('value' => '1')),
array('option' => array('value' => '01')),
'01',
'/option',
array('option' => array('value' => '2')),
array('option' => array('value' => '02')),
'02',
'/option',
$minutesRegex,
Expand All @@ -4148,13 +4148,13 @@ function testMinute() {
array('select' => array('name' => 'data[Model][field][min]', 'id' => 'ModelFieldMin')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '0')),
array('option' => array('value' => '00')),
'00',
'/option',
array('option' => array('value' => '1')),
array('option' => array('value' => '01')),
'01',
'/option',
array('option' => array('value' => '2')),
array('option' => array('value' => '02')),
'02',
'/option',
$minutesRegex,
Expand All @@ -4172,10 +4172,10 @@ function testMinute() {
array('select' => array('name' => 'data[Model][field][min]', 'id' => 'ModelFieldMin')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '0')),
array('option' => array('value' => '00')),
'00',
'/option',
array('option' => array('value' => '5')),
array('option' => array('value' => '05')),
'05',
'/option',
array('option' => array('value' => '10')),
Expand All @@ -4192,10 +4192,10 @@ function testMinute() {
array('select' => array('name' => 'data[Model][field][min]', 'id' => 'ModelFieldMin')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '0')),
array('option' => array('value' => '00')),
'00',
'/option',
array('option' => array('value' => '5')),
array('option' => array('value' => '05')),
'05',
'/option',
array('option' => array('value' => '10', 'selected' => 'selected')),
Expand Down

0 comments on commit a377593

Please sign in to comment.