diff --git a/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php b/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php index 6d2bd51..f53be07 100644 --- a/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php +++ b/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php @@ -80,6 +80,7 @@ protected function render(array &$elements) { * Data provider for testRenderLayout(). */ public function renderLayoutData() { + $html = []; $html[] = '
'; $html[] = '
'; $html[] = 'This is the content'; @@ -96,6 +97,7 @@ public function renderLayoutData() { $html, ]; + $html = []; $html[] = '
'; $html[] = '
'; $html[] = 'This string added by #process.'; @@ -118,6 +120,7 @@ public function renderLayoutData() { $html, ]; + $html = []; $html[] = '
'; $html[] = '
'; $html[] = 'This is the top'; @@ -140,6 +143,7 @@ public function renderLayoutData() { $html, ]; + $html = []; $html[] = '
'; $html[] = '
'; $html[] = 'This is the top'; @@ -162,6 +166,7 @@ public function renderLayoutData() { $html, ]; + $html = []; $html[] = '
'; $html[] = '
'; $html[] = 'This is the left'; @@ -184,6 +189,7 @@ public function renderLayoutData() { $html, ]; + $html = []; $html[] = '
'; $html[] = '
'; $html[] = 'Blah: ';