diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php index 453b212..77f138d 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php @@ -70,7 +70,8 @@ function testConfigTranslation() { 'translation' => 'all', ); $this->drupalPost('admin/config/regional/translate/translate', $search, t('Filter')); - $textarea = current($this->xpath('//textarea')); + $textareas = $this->xpath('//textarea'); + $textarea = current($textareas); $lid = (string) $textarea[0]['name']; $edit = array( $lid => $site_name,