diff --git a/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php b/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php index 59a76615c1..0509a2ee0d 100644 --- a/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php +++ b/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php @@ -16,6 +16,7 @@ class LayoutBuilderFieldLayoutCompatibilityTest extends LayoutBuilderCompatibili */ public static $modules = [ 'field_layout', + 'block', ]; /** diff --git a/core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php b/core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php index 135c7aabb1..fc32f164b2 100644 --- a/core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php +++ b/core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php @@ -21,6 +21,7 @@ class ActionsTest extends KernelTestBase implements FormInterface { * {@inheritdoc} */ public function getFormId() { + return 'actions_test_form'; } /** diff --git a/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php b/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php index 34c6d5852a..7e71865a7c 100644 --- a/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php +++ b/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php @@ -17,7 +17,7 @@ class ContentNegotiationRoutingTest extends KernelTestBase { /** * {@inheritdoc} */ - public static $modules = ['conneg_test']; + public static $modules = ['conneg_test', 'system']; /** * {@inheritdoc}