diff --git a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php index 585a62d7f5..ed7dfd202f 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @@ -174,7 +174,7 @@ public function testToRenderArrayPreview() { '#cache' => [ 'contexts' => [], 'tags' => [], - 'max-age' => -1, + 'max-age' => 0, ], ]; $block = $this->prophesize(BlockPluginInterface::class);