Skip to content

Commit

Permalink
Updated test for PR#2837
Browse files Browse the repository at this point in the history
  • Loading branch information
vseager committed Oct 31, 2012
1 parent 474f894 commit 8e22b3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/ZendTest/Form/View/Helper/FormSelectTest.php
Expand Up @@ -337,11 +337,9 @@ public function testRenderElementWithNoNameRaisesException()
$this->helper->render($element);
}

public function testRenderElementWithNoValueOptionsRaisesException()
public function testRenderElementWithNoValueOptionsDoesNotRaiseException()
{
$element = new SelectElement('foo');

$this->setExpectedException('Zend\Form\Exception\DomainException');
$this->helper->render($element);
}
}

0 comments on commit 8e22b3c

Please sign in to comment.