diff --git a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php index 634030e70b..6dade75497 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @@ -199,9 +199,6 @@ public function testContextAwareBlock() { $block->getDerivativeId()->willReturn(NULL); $block->getConfiguration()->willReturn([]); - $this->contextRepository->getRuntimeContexts([])->willReturn([]); - $this->contextHandler->applyContextMapping($block->reveal(), [])->shouldBeCalled(); - $section = [ new SectionComponent('some_uuid', 'content', ['id' => 'block_plugin_id']), ];