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