From cd569936a736644bbddf40066ba1fa33e847b7df Mon Sep 17 00:00:00 2001 From: xjm Date: Fri, 23 Oct 2015 19:57:46 -0700 Subject: [PATCH] Issue #2598500 by krknth, nicrodgers: Remove unused variables from core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php --- core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php b/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php index 96670199b15..0163855fdae 100644 --- a/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php @@ -215,7 +215,6 @@ class ToolbarAdminMenuTest extends WebTestBase { */ function testNonCurrentUserAccountUpdates() { $admin_user_id = $this->adminUser->id(); - $admin_user_2_id = $this->adminUser2->id(); $this->hash = $this->getSubtreesHash(); // adminUser2 will add a role to adminUser. @@ -258,12 +257,8 @@ class ToolbarAdminMenuTest extends WebTestBase { $langcode = 'xx'; // The English name for the language. This will be translated. $name = $this->randomMachineName(16); - // This is the language indicator on the translation search screen for - // untranslated strings. - $language_indicator = "$langcode "; // This will be the translation of $name. $translation = $this->randomMachineName(16); - $translation_to_en = $this->randomMachineName(16); // Add custom language. $this->drupalLogin($admin_user);