10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7311ef3 commit 4013e7bCopy full SHA for 4013e7b
src/Symfony/Component/Form/Tests/Extension/Validator/Type/TypeTestCase.php
@@ -23,6 +23,7 @@ protected function setUp()
23
$this->validator = $this->getMockBuilder('Symfony\Component\Validator\Validator\ValidatorInterface')->getMock();
24
$metadata = $this->getMockBuilder('Symfony\Component\Validator\Mapping\ClassMetadata')->disableOriginalConstructor()->getMock();
25
$this->validator->expects($this->once())->method('getMetadataFor')->will($this->returnValue($metadata));
26
+ $this->validator->expects($this->any())->method('validate')->will($this->returnValue(array()));
27
28
parent::setUp();
29
}
0 commit comments