[Validator] RangeTest: fix expected deprecation

This commit is contained in:
Maxime Steinhausser 2020-08-12 11:54:23 +02:00
parent f3753e93d8
commit 33c8c3a63d

View File

@ -52,7 +52,7 @@ class RangeTest extends TestCase
/** /**
* @group legacy * @group legacy
* @expectedDeprecation Since symfony/validator 4.4: minMessage and maxMessage are deprecated when min and max options are set together. Use notInRangeMessage instead. * @expectedDeprecation Since symfony/validator 4.4: "minMessage" and "maxMessage" are deprecated when the "min" and "max" options are both set. Use "notInRangeMessage" instead.
* @dataProvider provideDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMessageSet * @dataProvider provideDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMessageSet
*/ */
public function testDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMessageSet(array $options, bool $expectedDeprecatedMinMessageSet, bool $expectedDeprecatedMaxMessageSet) public function testDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMessageSet(array $options, bool $expectedDeprecatedMinMessageSet, bool $expectedDeprecatedMaxMessageSet)