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

This commit is contained in:
Bernhard Schussek 2012-07-25 22:49:37 +02:00
parent af47e762c3
commit 0315d431f4

View File

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