Skip to content

Commit 9ad708b

Browse files
committed
minor symfony#57992 [Validator] fix test (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Validator] fix test | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 4ae5cc1 fix test
2 parents 60faacd + 4ae5cc1 commit 9ad708b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Tests/Constraints/WeekValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function testTooHigh()
8080
$constraint = new Week(max: '2016-W25');
8181

8282
$this->validator->validate('2016-W30', $constraint);
83-
$this->buildViolation('The value should not be after week "{{ max }}".')
83+
$this->buildViolation('This value should not be after week "{{ max }}".')
8484
->setInvalidValue('2016-W30')
8585
->setParameter('{{ max }}', '2016-W25')
8686
->setCode(Week::TOO_HIGH_ERROR)

0 commit comments

Comments
 (0)