Issue #2598500 by krknth, nicrodgers: Remove unused variables from core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php

8.0.x
xjm 2015-10-23 19:57:46 -07:00
parent 436f50f9f2
commit cd569936a7
1 changed files with 0 additions and 5 deletions

View File

@ -215,7 +215,6 @@ class ToolbarAdminMenuTest extends WebTestBase {
*/ */
function testNonCurrentUserAccountUpdates() { function testNonCurrentUserAccountUpdates() {
$admin_user_id = $this->adminUser->id(); $admin_user_id = $this->adminUser->id();
$admin_user_2_id = $this->adminUser2->id();
$this->hash = $this->getSubtreesHash(); $this->hash = $this->getSubtreesHash();
// adminUser2 will add a role to adminUser. // adminUser2 will add a role to adminUser.
@ -258,12 +257,8 @@ class ToolbarAdminMenuTest extends WebTestBase {
$langcode = 'xx'; $langcode = 'xx';
// The English name for the language. This will be translated. // The English name for the language. This will be translated.
$name = $this->randomMachineName(16); $name = $this->randomMachineName(16);
// This is the language indicator on the translation search screen for
// untranslated strings.
$language_indicator = "<em class=\"locale-untranslated\">$langcode</em> ";
// This will be the translation of $name. // This will be the translation of $name.
$translation = $this->randomMachineName(16); $translation = $this->randomMachineName(16);
$translation_to_en = $this->randomMachineName(16);
// Add custom language. // Add custom language.
$this->drupalLogin($admin_user); $this->drupalLogin($admin_user);