diff --git a/tests/TestCase/View/Helper/FormHelperTest.php b/tests/TestCase/View/Helper/FormHelperTest.php index 81cbaa7fca7..7f2df98aabf 100755 --- a/tests/TestCase/View/Helper/FormHelperTest.php +++ b/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'