diff --git a/core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php b/core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php index 67fa9f275c..46b3623659 100644 --- a/core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php +++ b/core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @@ -241,8 +241,8 @@ public function testGetTempstoreKey() { */ public function testDeriveContextsFromRoute() { $display = LayoutBuilderEntityViewDisplay::create([ - 'targetEntityType' => 'entity_test_mul', - 'bundle' => 'entity_test_mul', + 'targetEntityType' => 'entity_test', + 'bundle' => 'entity_test', 'mode' => 'default', 'status' => TRUE, ]); @@ -255,7 +255,7 @@ public function testDeriveContextsFromRoute() { $entity->save(); $entity = EntityTest::load($entity->id()); - $result = $this->plugin->deriveContextsFromRoute('entity_test_mul.1', [], '', []); + $result = $this->plugin->deriveContextsFromRoute('entity_test.1', [], '', []); $this->assertSame(['entity', 'view_mode'], array_keys($result)); $this->assertSame($entity, $result['entity']->getContextValue()); $this->assertSame('default', $result['view_mode']->getContextValue());