Skip to content
Permalink
Browse files

Expand test for FormHelper.

Refs #3931
  • Loading branch information...
markstory committed Jul 10, 2014
1 parent 160f56c commit e12e44debdde58e47372870ecfeb27d0059a7404
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/TestCase/View/Helper/FormHelperTest.php
@@ -2573,6 +2573,13 @@ public function testInputSelectType() {
);
$this->assertTags($result, $expected);
$this->View->viewVars['users'] = null;
$result = $this->Form->input('Thing.user_id', array(
'options' => array('value' => 'good', 'other' => 'bad'),
'empty' => 'Some Empty'
));
$this->assertTags($result, $expected);
$this->Form->data = array();
$result = $this->Form->input('Publisher.id', array(
'label' => 'Publisher',

0 comments on commit e12e44d

Please sign in to comment.
You can’t perform that action at this time.