Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / layout_builder / tests / src / Kernel / LayoutBuilderFieldLayoutCompatibilityTest.php
index 59a76615c1881c68dfb8355dc6b6ce5a982d17ec..57dacb5b18ce030d343e93d1fa58fc289616c8ba 100644 (file)
@@ -54,6 +54,7 @@ class LayoutBuilderFieldLayoutCompatibilityTest extends LayoutBuilderCompatibili
     $this->assertFieldAttributes($this->entity, $expected_fields);
 
     // Add a layout override.
+    $this->enableOverrides();
     /** @var \Drupal\layout_builder\SectionStorageInterface $field_list */
     $field_list = $this->entity->get('layout_builder__layout');
     $field_list->appendSection(new Section('layout_onecol'));