Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove bogus test.

This test does nothing useful anymore. Remove it.
  • Loading branch information...
commit e097d9780a85f6534270c39761eba01c2774f837 1 parent cc89a7f
@markstory markstory authored
Showing with 0 additions and 22 deletions.
  1. +0 −22 tests/TestCase/View/Helper/FormHelperTest.php
View
22 tests/TestCase/View/Helper/FormHelperTest.php
@@ -3166,28 +3166,6 @@ public function testInputDatetime() {
}
/**
- * Test generating checkboxes in a loop.
- *
- * @return void
- */
- public function testInputCheckboxesInLoop() {
- $this->markTestIncomplete('Need to revisit once models work again.');
- for ($i = 1; $i < 5; $i++) {
- $result = $this->Form->input("Contact.{$i}.email", array('type' => 'checkbox', 'value' => $i));
- $expected = array(
- 'div' => array('class' => 'input checkbox'),
- 'input' => array('type' => 'hidden', 'name' => "Contact[{$i}][email]", 'value' => '0', 'id' => "Contact{$i}Email_"),
- array('input' => array('type' => 'checkbox', 'name' => "Contact[{$i}][email]", 'value' => $i, 'id' => "Contact{$i}Email")),
- 'label' => array('for' => "Contact{$i}Email"),
- 'Email',
- '/label',
- '/div'
- );
- $this->assertTags($result, $expected);
- }
- }
-
-/**
* Test generating checkboxes with disabled elements.
*
* @return void
Please sign in to comment.
Something went wrong with that request. Please try again.