From 94f1e5d40b7b2e8d72a3f1cfd459876d5710c58c Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Thu, 6 Feb 2020 20:27:33 +0000 Subject: [PATCH] Issue #3105977 by Hardik_Patel_12, pratik_kamble, longwave, pandaski: Remove unused variable from block module (cherry picked from commit 228df493846147e7e0eed1941721589c3c82d8cf) --- core/modules/block/tests/src/Functional/BlockTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/block/tests/src/Functional/BlockTest.php b/core/modules/block/tests/src/Functional/BlockTest.php index 8494946a2f8f..c69263454e10 100644 --- a/core/modules/block/tests/src/Functional/BlockTest.php +++ b/core/modules/block/tests/src/Functional/BlockTest.php @@ -417,7 +417,7 @@ public function testBlockCacheTags() { $this->assertEqual($this->drupalGetHeader('X-Drupal-Cache'), 'HIT'); // Place the "Powered by Drupal" block another time; verify a cache miss. - $block_2 = $this->drupalPlaceBlock('system_powered_by_block', ['id' => 'powered-2']); + $this->drupalPlaceBlock('system_powered_by_block', ['id' => 'powered-2']); $this->drupalGet('<front>'); $this->assertEqual($this->drupalGetHeader('X-Drupal-Cache'), 'MISS'); -- GitLab