diff --git a/modules/json_form_widget/tests/src/Unit/JsonFormBuilderTest.php b/modules/json_form_widget/tests/src/Unit/JsonFormBuilderTest.php index c708d28e9c..f5d9c53797 100644 --- a/modules/json_form_widget/tests/src/Unit/JsonFormBuilderTest.php +++ b/modules/json_form_widget/tests/src/Unit/JsonFormBuilderTest.php @@ -243,6 +243,7 @@ public function testSchema() { '#description_display' => 'before', "#default_value" => "org:Organization", "#required" => FALSE, + '#maxlength' => 256, ], "name" => [ "#type" => "textfield", @@ -251,6 +252,7 @@ public function testSchema() { '#description_display' => 'before', "#default_value" => NULL, "#required" => TRUE, + '#maxlength' => 256, ], ], ], @@ -292,6 +294,7 @@ public function testSchema() { "#type" => "textfield", "#title" => "Tag", "#required" => FALSE, + '#maxlength' => 256, ], ], ], @@ -341,6 +344,7 @@ public function testSchema() { "#type" => "textfield", "#title" => "Tag", "#required" => TRUE, + '#maxlength' => 256, ], ], ],