Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing test that only existed to prove that there was no conflict with

the magic HABTM inputs, which are now gone
  • Loading branch information...
commit daa900211b09f17a8d6709e1c218e3b3f6567edf 1 parent 9d657ca
@lorenzo lorenzo authored
Showing with 0 additions and 28 deletions.
  1. +0 −28 tests/TestCase/View/Helper/FormHelperTest.php
View
28 tests/TestCase/View/Helper/FormHelperTest.php
@@ -3041,34 +3041,6 @@ public function testInputMagicSelectChangeToRadio() {
}
/**
- * fields with the same name as the model should work.
- *
- * @return void
- */
- public function testInputWithMatchingFieldAndModelName() {
- $this->markTestIncomplete('Need to revisit once models work again.');
- $this->Form->create('User');
- $this->Form->fieldset = array(
- 'User' => array(
- 'fields' => array(
- 'User' => array('type' => 'text')
- ),
- 'validates' => array(),
- 'key' => 'id'
- )
- );
- $this->Form->request->data['User']['User'] = 'ABC, Inc.';
- $result = $this->Form->input('User', array('type' => 'text'));
- $expected = array(
- 'div' => array('class' => 'input text'),
- 'label' => array('for' => 'UserUser'), 'User', '/label',
- 'input' => array('name' => 'User[User]', 'type' => 'text', 'id' => 'UserUser', 'value' => 'ABC, Inc.'),
- '/div'
- );
- $this->assertTags($result, $expected);
- }
-
-/**
* testFormInputs method
*
* test correct results from form::inputs().
Please sign in to comment.
Something went wrong with that request. Please try again.