diff --git a/core/modules/field/modules/email/lib/Drupal/email/Tests/EmailFieldTest.php b/core/modules/field/modules/email/lib/Drupal/email/Tests/EmailFieldTest.php index 85130ea..4f5f2c5 100644 --- a/core/modules/field/modules/email/lib/Drupal/email/Tests/EmailFieldTest.php +++ b/core/modules/field/modules/email/lib/Drupal/email/Tests/EmailFieldTest.php @@ -70,7 +70,7 @@ class EmailFieldTest extends WebTestBase { $langcode = LANGUAGE_NOT_SPECIFIED; $this->assertFieldByName("{$this->field['field_name']}[$langcode][0][value]", '', t('Widget is displayed')); - // Submit a signed decimal value within the allowed precision and scale. + // Submit a valid email address and ensure it is accepted. $value = 'test@example.com'; $edit = array( "{$this->field['field_name']}[$langcode][0][value]" => $value, @@ -81,7 +81,7 @@ class EmailFieldTest extends WebTestBase { $this->assertRaw(t('test_entity @id has been created.', array('@id' => $id)), t('Entity was created')); $this->assertRaw($value, t('Value is displayed.')); - //Check the formatting of the link: + //Check that the link is displayed: $entity = field_test_entity_test_load($id); $entity->content = field_attach_view('test_entity', $entity, 'full'); $this->drupalSetContent(drupal_render($entity->content));