diff --git a/core/modules/system/src/Tests/Render/Element/SelectTest.php b/core/modules/system/src/Tests/Render/Element/SelectTest.php
index 88e781e..f5e5021 100644
--- a/core/modules/system/src/Tests/Render/Element/SelectTest.php
+++ b/core/modules/system/src/Tests/Render/Element/SelectTest.php
@@ -60,6 +60,7 @@ public function testRendering() {
// to supply some default values.
$element += [
'#id' => 'edit-select',
+ '#name' => 'test_select',
'#parents' => [],
'#array_parents' => [],
'#tree' => FALSE,
@@ -70,7 +71,7 @@ public function testRendering() {
$output = $test_case['output'];
// The wrapper element never changes, so avoid having to specify it every
// time.
- $output = '
' . $output . '
';
+ $output = '
' . $output . '
';
$form_id = 'select';
$form_state = new FormState();
@@ -102,7 +103,7 @@ public function providerTestSelect() {
];
$test_case['output'] = <<Test select
-