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 1a5790d commit 0b509ffCopy full SHA for 0b509ff
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