diff --git a/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
index ccb3f809a73fd1d419da73872485023083e39f7e..1c6ff2113c4afcf8dae54fe7ad6d23b13d7ba739 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php
@@ -86,7 +86,7 @@ function testWorkflows() {
     // Check that translation permissions governate the associated operations.
     $ops = array('create' => t('Add'), 'update' => t('Edit'), 'delete' => t('Delete'));
     $translations_path = $this->entity->getSystemPath('drupal:content-translation-overview');
-    foreach ($ops as $current_op => $label) {
+    foreach ($ops as $current_op => $item) {
       $user = $this->drupalCreateUser(array($this->getTranslatePermission(), "$current_op content translations"));
       $this->drupalLogin($user);
       $this->drupalGet($translations_path);