Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/BaseInputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public function testValidationMarksInputValidWhenAllowEmptyFlagIsTrueAndContinue
->setContinueIfEmpty(true);

$blankIsValid = new Input();
$blankIsValid->getValidatorChain()->attach(new Validator\Callback(function($value, $context) {
$blankIsValid->getValidatorChain()->attach(new Validator\Callback(function ($value, $context) {
return ('y' === $value && empty($context['allowEmpty']));
}));

Expand Down

0 comments on commit d0bb055

Please sign in to comment.