diff --git a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php index d958ca0cf401dbc7f46e7a96b1ae30d32c06777d..3a96b8e5d4a6010ef6168f94cbe4ff18d082d7f1 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php @@ -374,7 +374,6 @@ public function testCheckNamedRouteWithUpcastedValues() { ->with('test_route_1') ->will($this->returnValue($route)); - $map = []; $map[] = ['test_route_1', ['value' => 'example'], '/test-route-1/example']; $this->paramConverter = $this->createMock('Drupal\Core\ParamConverter\ParamConverterManagerInterface'); @@ -423,7 +422,6 @@ public function testCheckNamedRouteWithDefaultValue() { ->with('test_route_1') ->will($this->returnValue($route)); - $map = []; $map[] = ['test_route_1', ['value' => 'example'], '/test-route-1/example']; $this->paramConverter = $this->createMock('Drupal\Core\ParamConverter\ParamConverterManagerInterface');