Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

ArrayContext
  • Loading branch information...
commit 69f4e85e2896d429354ef1f9de93422d2e6c0335 1 parent 30f4fc8
@lorenzo lorenzo authored
Showing with 0 additions and 39 deletions.
  1. +0 −39 tests/TestCase/View/Helper/FormHelperTest.php
View
39 tests/TestCase/View/Helper/FormHelperTest.php
@@ -6018,45 +6018,6 @@ public function testFormEnd() {
}
/**
- * 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
Please sign in to comment.
Something went wrong with that request. Please try again.