Bladeren bron

[Validator] fixed unit test

Fabien Potencier 14 jaren geleden
bovenliggende
commit
1118fbdae7
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      tests/Symfony/Tests/Component/Validator/Constraints/ChoiceValidatorTest.php

+ 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,
         ));