Commit 1fd4d2c4 authored by catch's avatar catch
Browse files

fix: #3557507 \Drupal\KernelTests\Core\Render\Element\WeightTest triggers a...

fix: #3557507 \Drupal\KernelTests\Core\Render\Element\WeightTest triggers a deprecation in NestedArray on PHP 8.5

By: @alexpott
By: @smustgrave
(cherry picked from commit 65c804d9)
parent 801c9e08
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ public function testProcessWeightSelectMax(): void {
        ->get('system.site')
        ->get('weight_select_max'),
      // Expected by the "doBuildForm()" method of "form_builder" service.
      '#parents' => [],
      '#parents' => ['test'],
    ];

    $assert = function ($type, array $element, array $expected) use ($form_state) {