Issue #2598500 by krknth, nicrodgers: Remove unused variables from core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php
parent
436f50f9f2
commit
cd569936a7
|
@ -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 = "<em class=\"locale-untranslated\">$langcode</em> ";
|
||||
// This will be the translation of $name.
|
||||
$translation = $this->randomMachineName(16);
|
||||
$translation_to_en = $this->randomMachineName(16);
|
||||
|
||||
// Add custom language.
|
||||
$this->drupalLogin($admin_user);
|
||||
|
|
Loading…
Reference in New Issue