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:
commit
5005b444ab
@ -75,6 +75,7 @@ class UniqueValidatorTest extends DoctrineOrmTestCase
|
|||||||
;
|
;
|
||||||
$refl = $this->getMockBuilder('Doctrine\Common\Reflection\StaticReflectionProperty')
|
$refl = $this->getMockBuilder('Doctrine\Common\Reflection\StaticReflectionProperty')
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
|
->setMethods(array('getValue'))
|
||||||
->getMock()
|
->getMock()
|
||||||
;
|
;
|
||||||
$refl
|
$refl
|
||||||
|
Reference in New Issue
Block a user