minor #34994 [Validator] skip not applicable tests (xabbuh)

This PR was merged into the 4.3 branch.

Discussion
----------

[Validator] skip not applicable tests

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

227c38180f skip not applicable tests
This commit is contained in:
Christian Flothmann 2019-12-16 12:34:11 +01:00
commit f51538d581
2 changed files with 16 additions and 0 deletions

View File

@ -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');
}
}

View File

@ -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');
}
}