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 - HTML; $test_cases[] = $test_case; @@ -121,7 +122,7 @@ public function providerTestSelect() { ]; $test_case['output'] = <<Test select - @@ -155,7 +156,7 @@ public function providerTestSelect() { ]; $test_case['output'] = <<Test select - @@ -197,7 +198,7 @@ public function providerTestSelect() { ]; $test_case['output'] = <<Test select - @@ -255,7 +256,7 @@ public function providerTestSelect() { ]; $test_case['output'] = <<Test select - @@ -294,7 +295,7 @@ public function providerTestSelect() { ]; $test_case['output'] = <<Test select - @@ -331,7 +332,7 @@ public function providerTestSelect() { ]; $test_case['output'] = <<Test select - diff --git a/core/modules/views/src/Plugin/views/filter/InOperator.php b/core/modules/views/src/Plugin/views/filter/InOperator.php index 268e172..13e4ae6 100644 --- a/core/modules/views/src/Plugin/views/filter/InOperator.php +++ b/core/modules/views/src/Plugin/views/filter/InOperator.php @@ -436,7 +436,7 @@ public function validate() { } // Some filter_in_operator usage uses optgroups forms, so flatten it. - $flat_options = OptGroup::flattenOptions($this->value_options); + $flat_options = OptGroup::flattenOptions($this->valueOptions); // Remove every element which is not known. foreach ($this->value as $value) {