From 227c38180f929c1a992dceca63b7b65d38a3d826 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 16 Dec 2019 12:22:11 +0100 Subject: [PATCH] skip not applicable tests --- ...anOrEqualValidatorWithNegativeOrZeroConstraintTest.php | 8 ++++++++ .../LessThanValidatorWithNegativeConstraintTest.php | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php index 47490ad97b..4f22ed385a 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php @@ -108,4 +108,12 @@ class LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest extends LessThanO { $this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.'); } + + /** + * @dataProvider provideComparisonsToNullValueAtPropertyPath + */ + public function testCompareWithNullValueAtPropertyAt($dirtyValue, $dirtyValueAsString, $isValid) + { + $this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint'); + } } diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php index c73811b09c..ce71d57cfa 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php @@ -108,4 +108,12 @@ class LessThanValidatorWithNegativeConstraintTest extends LessThanValidatorTest { $this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.'); } + + /** + * @dataProvider provideComparisonsToNullValueAtPropertyPath + */ + public function testCompareWithNullValueAtPropertyAt($dirtyValue, $dirtyValueAsString, $isValid) + { + $this->markTestSkipped('PropertyPath option is not used in Negative constraint'); + } }