diff --git a/tests/TestCase/View/Helper/FormHelperTest.php b/tests/TestCase/View/Helper/FormHelperTest.php index 864200f4bee..759aac48a01 100755 --- a/tests/TestCase/View/Helper/FormHelperTest.php +++ b/tests/TestCase/View/Helper/FormHelperTest.php @@ -2498,9 +2498,8 @@ public function testInputMagicSelectChangeToRadio() { * * @return void */ - public function testFormInputs() { - $this->markTestIncomplete('Need to revisit once models work again.'); - $this->Form->create('Cake\Test\TestCase\View\Helper\Contact'); + public function testFormInputsLegendFieldset() { + $this->Form->create($this->article); $result = $this->Form->inputs('The Legend'); $expected = array( 'Form->inputs('Field of Dreams', null, array('fieldset' => 'classy-stuff')); $this->assertTags($result, $expected); + } - $this->Form->create('Contact'); +/** + * Test the inputs() method. + * + * @return void + */ + public function testFormInputs() { + $this->Form->create($this->article); $this->Form->request['prefix'] = 'admin'; $this->Form->request['action'] = 'admin_edit'; $result = $this->Form->inputs(); $expected = array( '