From ba84fab7bd349a3f2a665ad27ef9b0157f178d8c Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
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 e70e05c0f513..d087b76b034b 100644
--- a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php
+++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php
@@ -127,6 +127,13 @@ protected function populateFilesystemStructure(array &$filesystem_structure) {
       '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',
-- 
GitLab