[Validator] fix tests
This commit is contained in:
parent
58166dfd75
commit
f04f507cd5
@ -115,7 +115,7 @@ abstract class ConstraintValidatorTestCase extends TestCase
|
||||
$validator->expects($this->any())
|
||||
->method('inContext')
|
||||
->with($context)
|
||||
->willReturn($this->createMock(AssertingContextualValidator::class));
|
||||
->willReturn($this->getMockBuilder(AssertingContextualValidator::class)->setMethods(null)->getMock());
|
||||
|
||||
return $context;
|
||||
}
|
||||
|
Reference in New Issue
Block a user