From aeda6d3a5a80b7c4762e2629fcbe1cb4e5f0bc2c Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Thu, 28 Jul 2022 17:49:31 +0900 Subject: [PATCH] Issue #3105880 by peterkokot, Spokje, smustgrave: Remove unused TestContextAwareBlockInterface (cherry picked from commit 33db9ff6f1b7aac6b4fa815017b7ebdc0aa9c74a) --- .../block/tests/src/Unit/BlockRepositoryTest.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php index 522b691af494..c325a5d0db27 100644 --- a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php +++ b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php @@ -1,17 +1,10 @@ <?php -/** - * @file - * Contains \Drupal\Tests\block\Unit\BlockRepositoryTest. - */ - namespace Drupal\Tests\block\Unit; use Drupal\block\BlockRepository; use Drupal\Core\Access\AccessResult; -use Drupal\Core\Block\BlockPluginInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; -use Drupal\Core\Plugin\ContextAwarePluginInterface; use Drupal\Tests\UnitTestCase; /** @@ -191,6 +184,3 @@ public function testGetVisibleBlocksPerRegionWithContext() { } } - -interface TestContextAwareBlockInterface extends BlockPluginInterface, ContextAwarePluginInterface { -} -- GitLab