diff --git a/cake/tests/cases/libs/view/helpers/form.test.php b/cake/tests/cases/libs/view/helpers/form.test.php index d214464bc..51d273f4d 100644 --- a/cake/tests/cases/libs/view/helpers/form.test.php +++ b/cake/tests/cases/libs/view/helpers/form.test.php @@ -395,6 +395,10 @@ class FormHelperTest extends CakeTestCase { $expected = '
'; $this->assertEqual($result, $expected); + $result = $this->Form->input('Contact.5.email', array('type' => 'text')); + $expected = '
'; + $this->assertEqual($result, $expected); + $result = $this->Form->input('Contact/password'); $expected = '
'; $this->assertEqual($result, $expected); @@ -549,6 +553,9 @@ class FormHelperTest extends CakeTestCase { $result = $this->Form->label('Person.first_name', ''); $this->assertEqual($result, ''); + + $result = $this->Form->label('Person.2.name', ''); + $this->assertEqual($result, ''); } function testTextbox() {