Skip to content

Commit

Permalink
[ZF-8784] Zend_Form:
Browse files Browse the repository at this point in the history
- fixed unit tests

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20214 44c647ce-9c0f-0410-b52a-842ac1e357ba
  • Loading branch information
thomas committed Jan 12, 2010
1 parent 5fe1d4d commit b3ba34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Zend/Form/ElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ public function testSetOptionsSetsArrayOfArrayValidators()

$options = $this->getOptions();
$options['validators'] = array(
array('notEmpty', true, array('bar')),
array('notEmpty', true, array(Zend_Validate_NotEmpty::ALL)),
array('digits', true, array('bar')),
);
$this->element->setOptions($options);
Expand All @@ -1711,7 +1711,7 @@ public function testSetOptionsSetsArrayOfAssociativeArrayValidators()
$options = $this->getOptions();
$options['validators'] = array(
array(
'options' => array('bar'),
'options' => array(Zend_Validate_NotEmpty::ALL),
'breakChainOnFailure' => true,
'validator' => 'notEmpty',
),
Expand Down

0 comments on commit b3ba34d

Please sign in to comment.