Browse Source

Removed test related to table-less model, this is now done with the
ArrayContext

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

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

@@ -6018,45 +6018,6 @@ class FormHelperTest extends TestCase {
 	}
 
 /**
- * testDbLessModel method
- *
- * @return void
- */
-	public function testDbLessModel() {
-		$this->markTestIncomplete('Need to revisit once models work again.');
-		$this->Form->create('TestMail');
-
-		$result = $this->Form->input('name');
-		$expected = array(
-			'div' => array('class' => 'input text'),
-			'label' => array('for' => 'TestMailName'),
-			'Name',
-			'/label',
-			'input' => array(
-				'name' => 'TestMail[name]', 'type' => 'text',
-				'id' => 'TestMailName'
-			),
-			'/div'
-		);
-		$this->assertTags($result, $expected);
-
-		$this->Form->create('TestMail');
-		$result = $this->Form->input('name');
-		$expected = array(
-			'div' => array('class' => 'input text'),
-			'label' => array('for' => 'TestMailName'),
-			'Name',
-			'/label',
-			'input' => array(
-				'name' => 'TestMail[name]', 'type' => 'text',
-				'id' => 'TestMailName'
-			),
-			'/div'
-		);
-		$this->assertTags($result, $expected);
-	}
-
-/**
  * Test the generation of fields for a multi record form.
  *
  * @return void