From 22aa8a6f669fc72d7dd9723318e2dc76942ec970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=81ukaszewicz?= Date: Tue, 12 Feb 2013 18:53:25 +0100 Subject: [PATCH] Remove unnecessary comment and change test name --- .../Form/Tests/Extension/Core/Type/ChoiceTypeTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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( ));