diff --git a/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php b/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php index ca1c5af..8b44c88 100644 --- a/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php +++ b/core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php @@ -218,9 +218,7 @@ public function testConfigLevelDepth() { 'test.example6' => [], 'test.example8' => [], ]; - $no_active_trail_expectations['level_2_only'] = [ - 'test.example7' => [], - ]; + $no_active_trail_expectations['level_2_only'] = []; $no_active_trail_expectations['level_3_only'] = []; $no_active_trail_expectations['level_1_and_beyond'] = $no_active_trail_expectations['all']; $no_active_trail_expectations['level_2_and_beyond'] = $no_active_trail_expectations['level_2_only']; @@ -266,7 +264,6 @@ public function testConfigLevelDepth() { ]; $active_trail_expectations['level_2_only'] = [ 'test.example3' => [], - 'test.example7' => [], ]; $active_trail_expectations['level_3_only'] = [ 'test.example4' => [], @@ -276,7 +273,6 @@ public function testConfigLevelDepth() { 'test.example3' => [ 'test.example4' => [], ], - 'test.example7' => [], ]; $active_trail_expectations['level_3_and_beyond'] = $active_trail_expectations['level_3_only']; foreach ($blocks as $id => $block) {