Skip to content

Commit

Permalink
Deleting test that is covered by the EntityContext
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 27, 2014
1 parent daa9002 commit 7870c11
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/TestCase/View/Helper/FormHelperTest.php
Expand Up @@ -3283,27 +3283,6 @@ public function testFormInputs() {
$this->assertTags($result, $expected);
}

/**
* Tests inputs() works with plugin models
*
* @return void
*/
public function testInputsPluginModel() {
$this->markTestIncomplete('Need to revisit once models work again.');
$this->loadFixtures('Post');
Plugin::load('TestPlugin');
$this->Form->request['models'] = array(
'TestPluginPost' => array('plugin' => 'TestPlugin', 'className' => 'TestPluginPost')
);
$this->Form->create('TestPlugin.TestPluginPost');
$result = $this->Form->inputs();

$this->assertContains('TestPluginPost[id]', $result);
$this->assertContains('TestPluginPost[author_id]', $result);
$this->assertContains('TestPluginPost[title]', $result);
$this->assertEquals('TestPluginPost', $this->Form->model());
}

/**
* testSelectAsCheckbox method
*
Expand Down

0 comments on commit 7870c11

Please sign in to comment.