Permalink
Browse files

Deleting test that is covered by the EntityContext

  • Loading branch information...
1 parent daa9002 commit 7870c11814bfc52e0b7d0bc3f6eb9fec9ae4ab57 @lorenzo lorenzo committed Feb 27, 2014
Showing with 0 additions and 21 deletions.
  1. +0 −21 tests/TestCase/View/Helper/FormHelperTest.php
@@ -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
*

0 comments on commit 7870c11

Please sign in to comment.