From d0c951598dd84e0e02f0467788ffcf0aa7a3d23e Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Wed, 26 Aug 2020 00:27:39 +0100
Subject: [PATCH] Issue #3158278 by mayurjadhav, Hardik_Patel_12, paulocs:
 Unused local variables from LocalTaskManagerTest file

---
 core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
index 53686309dfb0..3df272c87dc7 100644
--- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
@@ -436,7 +436,7 @@ public function testGetTasksBuildWithCacheabilityMetadata() {
       ->willReturn(new ParameterBag());
 
     $cacheability = new CacheableMetadata();
-    $local_tasks = $this->manager->getTasksBuild('menu_local_task_test_tasks_view', $cacheability);
+    $this->manager->getTasksBuild('menu_local_task_test_tasks_view', $cacheability);
 
     // Ensure that all cacheability metadata is merged together.
     $this->assertEquals(['tag.example1', 'tag.example2'], $cacheability->getCacheTags());
-- 
GitLab