浏览代码

[Validator] fixed unit test

Fabien Potencier 14 年之前
父节点
当前提交
1118fbdae7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,
         ));