merged branch bschussek/testfix (PR #5052)

Commits
-------

0315d43 [Form] Fixed failing UniqueValidatorTest when Doctrine Common 2.2 is loaded

Discussion
----------

[Form] Fixed failing UniqueValidatorTest when Doctrine Common 2.2 is loaded

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
This commit is contained in:
Fabien Potencier 2012-07-25 22:52:48 +02:00
commit 5005b444ab

View File

@ -75,6 +75,7 @@ class UniqueValidatorTest extends DoctrineOrmTestCase
;
$refl = $this->getMockBuilder('Doctrine\Common\Reflection\StaticReflectionProperty')
->disableOriginalConstructor()
->setMethods(array('getValue'))
->getMock()
;
$refl