diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php index 338955c5846bc55850e896ec4d1b2abc30777215..6a2608c1fe7551ecd0fa3a3f12f69168abe78d48 100644 --- a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php +++ b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php @@ -111,7 +111,7 @@ protected function assertAuthoringInfo() { $values = array(); // Post different authoring information for each translation. - foreach ($this->langcodes as $index => $langcode) { + foreach ($this->langcodes as $langcode) { $user = $this->drupalCreateUser(); $values[$langcode] = array( 'uid' => $user->id(), @@ -180,7 +180,6 @@ public function testDisabledBundle() { // Create a node for each bundle. $enabledNode = $this->drupalCreateNode(array('type' => $this->bundle)); - $disabledNode = $this->drupalCreateNode(array('type' => $disabledBundle)); // Make sure that only a single row was inserted into the // {content_translation} table.