Selaa lähdekoodia

[Validator] fixed unit test

Fabien Potencier 14 vuotta sitten
vanhempi
commit
1118fbdae7

+ 1 - 1
tests/Symfony/Tests/Component/Validator/Constraints/ChoiceValidatorTest.php

@@ -135,7 +135,7 @@ class ChoiceValidatorTest extends \PHPUnit_Framework_TestCase
     {
         $constraint = new Choice(array(
             'choices' => array('foo', 'bar'),
-            'message' => 'myMessage',
+            'multipleMessage' => 'myMessage',
             'multiple' => true,
         ));