diff -u b/core/modules/content_moderation/src/Tests/ModerationStateDuplicateLabelTest.php b/core/modules/content_moderation/src/Tests/ModerationStateDuplicateLabelTest.php --- b/core/modules/content_moderation/src/Tests/ModerationStateDuplicateLabelTest.php +++ b/core/modules/content_moderation/src/Tests/ModerationStateDuplicateLabelTest.php @@ -29,18 +29,18 @@ $this->drupalGet('admin/config/workflow/moderation'); $this->assertLink('Moderation states'); $this->clickLink('Moderation states'); - $this->clickLink(t('Add Moderation state')); + $this->clickLink('Add Moderation state'); // Add two states with the same label and one unique. $this->drupalPostForm(NULL, [ 'label' => $duplicate_label, 'id' => 'duplciate_one', ], t('Save')); - $this->clickLink(t('Add Moderation state')); + $this->clickLink('Add Moderation state'); $this->drupalPostForm(NULL, [ 'label' => $duplicate_label, 'id' => 'duplicate_two', ], t('Save')); - $this->clickLink(t('Add Moderation state')); + $this->clickLink('Add Moderation state'); $this->drupalPostForm(NULL, [ 'label' => $unique_label, 'id' => 'unique_label',