浏览代码

fixed language in test

Tobias Schultze 13 年之前
父节点
当前提交
c73643675f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Symfony/Tests/Bridge/Doctrine/Validator/Constraints/UniqueValidatorTest.php

+ 1 - 1
tests/Symfony/Tests/Bridge/Doctrine/Validator/Constraints/UniqueValidatorTest.php

@@ -215,7 +215,7 @@ class UniqueValidatorTest extends DoctrineOrmTestCase
 
         $this->setExpectedException(
             'Symfony\Component\Validator\Exception\ConstraintDefinitionException',
-            'Associated entities are not allowed have more than one identifier field'
+            'Associated entities are not allowed to have more than one identifier field'
         );
         $violationsList = $validator->validate($associated);
     }