Skip to content

Commit

Permalink
Merge pull request #102 from uuf6429/feature/test-invalid-checkbox-va…
Browse files Browse the repository at this point in the history
…lues

Test using invalid values for checkbox
  • Loading branch information
aik099 authored Jan 7, 2025
2 parents 387f66f + 2d6c2c7 commit c9909d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Form/GeneralTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ public static function provideInvalidValues(): iterable
['textarea', 'notes', [$trueValue, $falseValue, $arrayValue]],
['text', 'first_name', [$trueValue, $falseValue, $arrayValue]],
['button', 'submit', [$trueValue, $falseValue, $arrayValue, $stringValue]],
['checkbox', 'agreement', [$arrayValue, $stringValue]],
];

foreach ($scenarios as [$fieldType, $fieldNameOrId, $values]) {
Expand Down

0 comments on commit c9909d5

Please sign in to comment.