X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Flocale%2Ftests%2Fsrc%2FFunctional%2FLocaleConfigTranslationImportTest.php;fp=web%2Fcore%2Fmodules%2Flocale%2Fsrc%2FTests%2FLocaleConfigTranslationImportTest.php;h=67c2dfa7078eccc95fae18e1e22d848f6b70ea95;hp=479a60046bf55fb50a6bbee19c7a1ea8d2dff154;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php b/web/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php similarity index 98% rename from web/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php rename to web/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php index 479a60046..67c2dfa70 100644 --- a/web/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php +++ b/web/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php @@ -1,9 +1,9 @@ drupalPostForm('admin/config/regional/translate', $search, t('Filter')); $textareas = $this->xpath('//textarea'); $textarea = current($textareas); - $lid = (string) $textarea[0]['name']; + $lid = $textarea->getAttribute('name'); $edit = [ $lid => '', ];