X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontent_translation%2Ftests%2Fsrc%2FFunctional%2FContentTranslationSettingsTest.php;fp=web%2Fcore%2Fmodules%2Fcontent_translation%2Fsrc%2FTests%2FContentTranslationSettingsTest.php;h=f15a8f9bc8d11a5fdf517567863e3e73cd1eec86;hp=7a1c598047b7d2d55d77daa47717bb1e7bc1415c;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php b/web/core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php similarity index 98% rename from web/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php rename to web/core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php index 7a1c59804..f15a8f9bc 100644 --- a/web/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php +++ b/web/core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php @@ -1,6 +1,6 @@ xpath('//select[@id="edit-settings-node-article-settings-language-langcode"]/option'); // Compare values inside the option elements with expected values. for ($i = 0; $i < count($elements); $i++) { - $this->assertEqual($elements[$i]->attributes()->{'value'}, $expected_elements[$i]); + $this->assertEqual($elements[$i]->getValue(), $expected_elements[$i]); } }