diff --git a/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php b/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php index c76f395..1e10c90 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php @@ -162,15 +162,14 @@ function addExistingField() { /** * Tests the cardinality settings of a field. * - * We do not test if the number can be sumbitted with anything - * else than a numeric value. That is tested already in - * FormTest::testNumber(). + * We do not test if the number can be submitted with anything else than a + * numeric value. That is tested already in FormTest::testNumber(). */ function cardinalitySettings() { $field_edit_path = 'admin/structure/types/manage/article/fields/body'; - // Assert the cardinality other field can not be empty when cardinality - // is set to other. + // Assert the cardinality other field cannot be empty when cardinality is + // set to other. $edit = array( 'field[container][cardinality]' => 'other', 'field[container][cardinality_other]' => '', @@ -178,8 +177,8 @@ function cardinalitySettings() { $this->drupalPost($field_edit_path, $edit, t('Save settings')); $this->assertText('Please enter a number.'); - // Assert the cardinality field is set to 'Other' when the value - // is bigger than 5. + // Assert the cardinality field is set to 'Other' when the value is greater + // than 5. $edit = array( 'field[container][cardinality]' => 'other', 'field[container][cardinality_other]' => 16, @@ -190,8 +189,8 @@ function cardinalitySettings() { $this->assertFieldByXPath("//select[@name='field[container][cardinality]']", 'other'); $this->assertFieldByXPath("//input[@name='field[container][cardinality_other]']", 16); - // Assert the cardinality other field is set back to 6 after - // changing cardinality to less than 6. + // Assert the cardinality other field is set back to 6 after changing the + // cardinality to less than 6. $edit = array( 'field[container][cardinality]' => 3, 'field[container][cardinality_other]' => 16,