diff --git a/core/modules/comment/tests/src/Kernel/CommentOrphanTest.php b/core/modules/comment/tests/src/Kernel/CommentOrphanTest.php index 2f1ad83f12..e1ff3b5904 100644 --- a/core/modules/comment/tests/src/Kernel/CommentOrphanTest.php +++ b/core/modules/comment/tests/src/Kernel/CommentOrphanTest.php @@ -19,7 +19,7 @@ class CommentOrphanTest extends EntityKernelTestBase { /** * {@inheritdoc} */ - protected static $modules = ['comment', 'node']; + public static $modules = ['comment', 'node']; /** * {@inheritdoc}