Commit d0c95159 authored by catch's avatar catch
Browse files

Issue #3158278 by mayurjadhav, Hardik_Patel_12, paulocs: Unused local...

Issue #3158278 by mayurjadhav, Hardik_Patel_12, paulocs: Unused local variables from LocalTaskManagerTest file
parent 664dee02
Loading
Loading
Loading
Loading
+1 −1
Changes for core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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());