Commit cd569936 authored by xjm's avatar xjm

Issue #2598500 by krknth, nicrodgers: Remove unused variables from...

Issue #2598500 by krknth, nicrodgers: Remove unused variables from core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php
parent 436f50f9
...@@ -215,7 +215,6 @@ function testUserRoleUpdateSubtreesHashCacheClear() { ...@@ -215,7 +215,6 @@ function testUserRoleUpdateSubtreesHashCacheClear() {
*/ */
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 @@ function testLocaleTranslationSubtreesHashCacheClear() { ...@@ -258,12 +257,8 @@ function testLocaleTranslationSubtreesHashCacheClear() {
$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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment