From 2d6c2c725b11bbb31a7893748957446fd97fcd10 Mon Sep 17 00:00:00 2001 From: Christian Sciberras Date: Sun, 5 Jan 2025 21:57:29 +0100 Subject: [PATCH] Test using invaslid values for checkbox --- tests/Form/GeneralTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Form/GeneralTest.php b/tests/Form/GeneralTest.php index e0a7b5a..440e094 100644 --- a/tests/Form/GeneralTest.php +++ b/tests/Form/GeneralTest.php @@ -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]) {