From eaa7f2e9ba6bd6c70dd71c6a64c3d43f231a0f0a Mon Sep 17 00:00:00 2001 From: catch Date: Wed, 3 Aug 2022 21:56:08 +0900 Subject: [PATCH] Issue #3298319 by nod_: Update ExtensionDiscoveryTest to not use seven (cherry picked from commit 88e3e39ae8b7fad407863c19358248d4a9458d57) --- .../Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php index e70e05c0f51..d087b76b034 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php @@ -127,6 +127,13 @@ class ExtensionDiscoveryTest extends UnitTestCase { 'core/profiles/minimal/minimal.info.yml' => [ 'type' => 'profile', ], + 'core/themes/test_theme/test_theme.info.yml' => [ + 'type' => 'theme', + ], + // Override the core instance of the 'test_theme' theme. + 'sites/default/themes/test_theme/test_theme.info.yml' => [ + 'type' => 'theme', + ], // Override the core instance of the 'minimal' profile. 'sites/default/profiles/minimal/minimal.info.yml' => [ 'type' => 'profile',