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 a86583d commit 9e1589eCopy full SHA for 9e1589e
src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php
@@ -142,7 +142,7 @@ public function testValidChoiceCallbackContextObjectMethod()
142
// search $this for "objectMethodCallback"
143
$this->setObject($this);
144
145
- $constraint = new Choice(array('callback' => 'objectMethodCallback'));
+ $constraint = new Choice(array('callback' => 'objectMethodCallback', 'strict' => true));
146
147
$this->validator->validate('bar', $constraint);
148
0 commit comments