diff --git a/core/modules/contact/src/Tests/ContactLanguageTest.php b/core/modules/language/src/Tests/LanguageEntityFormTest.php similarity index 80% rename from core/modules/contact/src/Tests/ContactLanguageTest.php rename to core/modules/language/src/Tests/LanguageEntityFormTest.php index 540a30e..a332727 100644 --- a/core/modules/contact/src/Tests/ContactLanguageTest.php +++ b/core/modules/language/src/Tests/LanguageEntityFormTest.php @@ -2,23 +2,24 @@ /** * @file - * Contains \Drupal\contact\Tests\ContactLanguageTest. + * Contains \Drupal\language\Tests\LanguageEntityFormTest. */ -namespace Drupal\contact\Tests; +namespace Drupal\language\Tests; use Drupal\simpletest\WebTestBase; /** - * Tests contact messages with language module. + * Tests entity form with language module. * - * This is to ensure that a contact form by default does not show the language + * This is to ensure that an entity form by default does not show the language * select, but it does so when it's enabled from the content language settings * page. + * In this test we test it with the particular case of the contact messages. * * @group contact */ -class ContactLanguageTest extends WebTestBase { +class LanguageEntityFormTest extends WebTestBase { /** * Modules to enable. @@ -55,7 +56,6 @@ public function testContactLanguage() { // Ensure that contact form now shows the language select. $this->drupalGet('contact'); $this->assertField('edit-langcode-0-value'); - } }