Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SjorsO committed Jan 2, 2020
1 parent d844c1e commit 2b1cb5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Validation/ValidationValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4953,7 +4953,7 @@ public function providesPassingExcludeIfData()
'vehicles' => [
['type' => 'car', 'wheels' => [
['color' => 'red', 'shape' => 'square'],
['color' => 'red', 'shape' => 'round'],
['color' => 'red', 'shape' => 'round', 'junk' => 'no rule, still present'],
['color' => 'blue', 'shape' => 'hexagon'],
['color' => 'blue', 'shape' => 'triangle'],
]],
Expand All @@ -4963,7 +4963,7 @@ public function providesPassingExcludeIfData()
'vehicles' => [
['type' => 'car', 'wheels' => [
['color' => 'red', 'shape' => 'square'],
['color' => 'red', 'shape' => 'round'],
['color' => 'red', 'shape' => 'round', 'junk' => 'no rule, still present'],
// The shape field for these blue wheels were correctly excluded (if they weren't, they would
// fail the validation). They still appear in the validated data. This behaviour is unrelated
// to the "exclude" type rules.
Expand Down

0 comments on commit 2b1cb5f

Please sign in to comment.