Skip to content
Permalink
Browse files

Un-skipped another test

  • Loading branch information...
lorenzo committed Feb 27, 2014
1 parent 35c7714 commit 3b79ff95990574b8b53bad5670dad923a42b4534
Showing with 5 additions and 6 deletions.
  1. +5 −6 tests/TestCase/View/Helper/FormHelperTest.php
@@ -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',
@@ -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'

0 comments on commit 3b79ff9

Please sign in to comment.
You can’t perform that action at this time.