summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorcatch <6915-catch@users.noreply.drupalcode.org>2025-03-17 17:16:20 +0000
committercatch <6915-catch@users.noreply.drupalcode.org>2025-03-17 17:16:20 +0000
commitaed331a4ecbe79102a358f073842f0e208e83a87 (patch)
tree907d1247d1d57afdf8204b474bc0ca7385b7a5ca
parentd298e0045684194ede621d4c61257d6cd5e25944 (diff)
downloaddrupal-aed331a4ecbe79102a358f073842f0e208e83a87.tar.gz
drupal-aed331a4ecbe79102a358f073842f0e208e83a87.zip
Issue #3511869 by sarvjeetsingh, prudloff: Unused variable in AccessManagerTest::setUp()
-rw-r--r--core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
index 913f83004e8..b4fad50fa6a 100644
--- a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
@@ -113,12 +113,6 @@ class AccessManagerTest extends UnitTestCase {
->method('getRouteByName')
->willReturnMap($map);
- $map = [];
- $map[] = ['test_route_1', [], '/test-route-1'];
- $map[] = ['test_route_2', [], '/test-route-2'];
- $map[] = ['test_route_3', [], '/test-route-3'];
- $map[] = ['test_route_4', ['value' => 'example'], '/test-route-4/example'];
-
$this->paramConverter = $this->createMock('Drupal\Core\ParamConverter\ParamConverterManagerInterface');
$this->account = $this->createMock('Drupal\Core\Session\AccountInterface');