Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Deleting test that is covered by the EntityContext

  • Loading branch information...
commit 7870c11814bfc52e0b7d0bc3f6eb9fec9ae4ab57 1 parent daa9002
@lorenzo lorenzo authored
Showing with 0 additions and 21 deletions.
  1. +0 −21 tests/TestCase/View/Helper/FormHelperTest.php
View
21 tests/TestCase/View/Helper/FormHelperTest.php
@@ -3284,27 +3284,6 @@ public function testFormInputs() {
}
/**
- * 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
*
* test multi-select widget with checkbox formatting.
Please sign in to comment.
Something went wrong with that request. Please try again.