Permalink
Browse files

Fix and unskip tests.

  • Loading branch information...
ADmad committed Feb 18, 2014
1 parent 19903b0 commit bb143708137fc8e48352777e9460235eecd96603
Showing with 1 addition and 4 deletions.
  1. +1 −4 tests/TestCase/View/Helper/FormHelperTest.php
@@ -1472,7 +1472,6 @@ public function testFormSecurityMultipleSubmitButtons() {
* @return void
*/
public function testSecurityButtonNestedNamed() {
- $this->markTestIncomplete('Need to revisit once models work again.');
$key = 'testKey';
$this->Form->request->params['_csrfToken'] = $key;
@@ -1925,13 +1924,11 @@ public function testFormSecuredMultipleSelect() {
* @return void
*/
public function testFormSecuredRadio() {
- $this->markTestIncomplete('Need to revisit once models work again.');
- $this->Form->request->params['_csrfToken'] = 'testKey';
$this->assertEquals(array(), $this->Form->fields);
$options = array('1' => 'option1', '2' => 'option2');
$this->Form->radio('Test.test', $options);
- $expected = array('Test.test');
+ $expected = array('Test[test]' => '');
$this->assertEquals($expected, $this->Form->fields);
}

0 comments on commit bb14370

Please sign in to comment.