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.
2 parents 5c1af6d + ba489a5 commit d9a71a9Copy full SHA for d9a71a9
Test/ConstraintValidatorTestCase.php
@@ -117,7 +117,7 @@ protected function createContext()
117
$validator->expects($this->any())
118
->method('inContext')
119
->with($context)
120
- ->willReturn(new AssertingContextualValidator());
+ ->willReturn($this->getMockBuilder(AssertingContextualValidator::class)->setMethods(null)->getMock());
121
122
return $context;
123
}
0 commit comments