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 36a21c7 commit 0ab6766Copy full SHA for 0ab6766
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->createMock(AssertingContextualValidator::class));
119
120
return $context;
121
}
0 commit comments