Browse Source

Removing test that only existed to prove that there was no conflict with
the magic HABTM inputs, which are now gone

Jose Lorenzo Rodriguez 12 years ago
parent
commit
daa900211b
1 changed files with 0 additions and 28 deletions
  1. 0 28
      tests/TestCase/View/Helper/FormHelperTest.php

+ 0 - 28
tests/TestCase/View/Helper/FormHelperTest.php

@@ -3041,34 +3041,6 @@ class FormHelperTest extends TestCase {
 	}
 
 /**
- * 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().