Skip to content

Commit

Permalink
Un-skipped another test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 27, 2014
1 parent 35c7714 commit 3b79ff9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/TestCase/View/Helper/FormHelperTest.php
Expand Up @@ -3914,7 +3914,6 @@ public function testSelectMultiple() {
* @return void
*/
public function testCheckboxZeroValue() {
$this->markTestIncomplete('Need to revisit once models work again.');
$result = $this->Form->input('User.get_spam', array(
'type' => 'checkbox',
'value' => '0',
Expand All @@ -3923,14 +3922,14 @@ public function testCheckboxZeroValue() {
$expected = array(
'div' => array('class' => 'input checkbox'),
array('input' => array(
'type' => 'hidden', 'name' => 'data[User][get_spam]',
'value' => '1', 'id' => 'UserGetSpam_'
'type' => 'hidden', 'name' => 'User[get_spam]',
'value' => '1'
)),
array('input' => array(
'type' => 'checkbox', 'name' => 'data[User][get_spam]',
'value' => '0', 'id' => 'UserGetSpam'
'type' => 'checkbox', 'name' => 'User[get_spam]',
'value' => '0', 'id' => 'user-get-spam'
)),
'label' => array('for' => 'UserGetSpam'),
'label' => array('for' => 'user-get-spam'),
'Get Spam',
'/label',
'/div'
Expand Down

0 comments on commit 3b79ff9

Please sign in to comment.