Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f51538d

Browse filesBrowse files
committed
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 ------- 227c381 skip not applicable tests
2 parents 7d9945e + 227c381 commit f51538d
Copy full SHA for f51538d

File tree

Expand file treeCollapse file tree

2 files changed

+16
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+16
-0
lines changed

‎src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,12 @@ public function testThrowsOnInvalidStringDates(AbstractComparison $constraint, $
108108
{
109109
$this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.');
110110
}
111+
112+
/**
113+
* @dataProvider provideComparisonsToNullValueAtPropertyPath
114+
*/
115+
public function testCompareWithNullValueAtPropertyAt($dirtyValue, $dirtyValueAsString, $isValid)
116+
{
117+
$this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint');
118+
}
111119
}

‎src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,12 @@ public function testThrowsOnInvalidStringDates(AbstractComparison $constraint, $
108108
{
109109
$this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.');
110110
}
111+
112+
/**
113+
* @dataProvider provideComparisonsToNullValueAtPropertyPath
114+
*/
115+
public function testCompareWithNullValueAtPropertyAt($dirtyValue, $dirtyValueAsString, $isValid)
116+
{
117+
$this->markTestSkipped('PropertyPath option is not used in Negative constraint');
118+
}
111119
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.