diff --git a/core/tests/Drupal/Tests/Core/Render/Element/RadioTest.php b/core/tests/Drupal/Tests/Core/Render/Element/RadioTest.php new file mode 100644 index 0000000..7381cfa --- /dev/null +++ b/core/tests/Drupal/Tests/Core/Render/Element/RadioTest.php @@ -0,0 +1,29 @@ + 0, + '#value' => 'All', + '#attributes' => [], + ]; + + $element = Radio::preRenderRadio($element); + + $this->assertArrayNotHasKey('checked', $element['#attributes']); + } + +}