8000 minor #32250 [Validator] remove invalid test case (xabbuh) · symfony/symfony@e62e2dd · GitHub
[go: up one dir, main page]

Skip to content

Commit e62e2dd

Browse files
minor #32250 [Validator] remove invalid test case (xabbuh)
This PR was merged into the 4.3 branch. Discussion ---------- [Validator] remove invalid test case | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Spotted while working on #32179 for the Validator component. Using property paths for comparison when validating arrays simply does not work. Commits ------- 9000c1e remove invalid test case
2 parents a1de01c + 9000c1e commit e62e2dd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@ public function testValidComparisonToPropertyPath()
5050
$this->assertNoViolation();
5151
}
5252

53-
public function testValidComparisonToPropertyPathOnArray()
54-
{
55-
$constraint = new Bic(['ibanPropertyPath' => '[root][value]']);
56-
57-
$this->setObject(['root' => ['value' => 'FR14 2004 1010 0505 0001 3M02 606']]);
58-
59-
$this->validator->validate('SOGEFRPP', $constraint);
60-
61-
$this->assertNoViolation();
62-
}
63-
6453
public function testInvalidComparisonToPropertyPath()
6554
{
6655
$constraint = new Bic(['ibanPropertyPath' => 'value']);

0 commit comments

Comments
 (0)
0