diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php index 3b32ab38e8..844715c650 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php @@ -86,10 +86,7 @@ class ChoiceTypeTest extends TypeTestCase )); } - /** - * expectedException \Symfony\Component\Form\Exception\Exception - */ - public function testEitherChoiceListOrChoicesMustBeSet() + public function testChoiceListAndChoicesCanBeEmpty() { $this->factory->create('choice', null, array( ));