diff --git a/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php b/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php index 112d955841159daa13fceaddf167f1b539155210..e5330bab36b478bf460666020a129db83a1c0231 100644 --- a/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php +++ b/core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php @@ -25,17 +25,12 @@ class EntityFilteringThemeTest extends BrowserTestBase { /** * {@inheritdoc} */ - protected $defaultTheme = 'stark'; + protected static $modules = ['block', 'taxonomy', 'comment', 'node', 'views']; /** - * Use the standard profile. - * - * We test entity theming with the default node, user, comment, and taxonomy - * configurations at several paths in the standard profile. - * - * @var string + * {@inheritdoc} */ - protected $profile = 'standard'; + protected $defaultTheme = 'stark'; /** * A list of all available themes. @@ -118,6 +113,7 @@ protected function setUp(): void { ]); $this->term->save(); + $this->createContentType(['type' => 'article']); // Add a comment field. $this->addDefaultCommentField('node', 'article', 'comment', CommentItemInterface::OPEN); // Create a test node tagged with the test term.