Permalink
Browse files

Unskip tests for minute().

  • Loading branch information...
1 parent 47a8ac4 commit abecb49321c0b8fe332fecaf3553e9f67e1df886 @markstory markstory committed Feb 23, 2014
Showing with 4 additions and 5 deletions.
  1. +4 −5 tests/TestCase/View/Helper/FormHelperTest.php
@@ -5600,12 +5600,11 @@ public function testDay() {
* @return void
*/
public function testMinute() {
- $this->markTestIncomplete('Need to revisit once models work again.');
extract($this->dateRegex);
$result = $this->Form->minute('Model.field');
$expected = array(
- array('select' => array('name' => 'Model[field][min]', 'id' => 'ModelFieldMin')),
+ array('select' => array('name' => 'Model[field][min]')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '00')),
@@ -5625,7 +5624,7 @@ public function testMinute() {
$this->Form->request->data['Model']['field'] = '2006-10-10 00:12:32';
$result = $this->Form->minute('Model.field');
$expected = array(
- array('select' => array('name' => 'Model[field][min]', 'id' => 'ModelFieldMin')),
+ array('select' => array('name' => 'Model[field][min]')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '00')),
@@ -5649,7 +5648,7 @@ public function testMinute() {
$this->Form->request->data['Model']['field'] = '';
$result = $this->Form->minute('Model.field', array('interval' => 5));
$expected = array(
- array('select' => array('name' => 'Model[field][min]', 'id' => 'ModelFieldMin')),
+ array('select' => array('name' => 'Model[field][min]')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '00')),
@@ -5669,7 +5668,7 @@ public function testMinute() {
$this->Form->request->data['Model']['field'] = '2006-10-10 00:10:32';
$result = $this->Form->minute('Model.field', array('interval' => 5));
$expected = array(
- array('select' => array('name' => 'Model[field][min]', 'id' => 'ModelFieldMin')),
+ array('select' => array('name' => 'Model[field][min]')),
array('option' => array('value' => '')),
'/option',
array('option' => array('value' => '00')),

0 comments on commit abecb49

Please sign in to comment.