diff --git a/core/modules/field/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php b/core/modules/field/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php index e3abec3..c599124 100644 --- a/core/modules/field/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php +++ b/core/modules/field/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php @@ -28,7 +28,7 @@ class TelephoneFieldTest extends WebTestBase { public static function getInfo() { return array( 'name' => 'Telephone field', - 'description' => "Test the creation of telephone fields.", + 'description' => 'Test the creation of telephone fields.', 'group' => 'Field types' ); } @@ -46,7 +46,7 @@ function setUp() { * Helper function for testTelephoneField(). */ function testTelephoneField() { - $value = "123456789"; + $value = '123456789'; // Add the telepone field to the article content type. $field = array( @@ -72,8 +72,8 @@ function testTelephoneField() { // Add the value to the telephone field. $edit = array( - "title" => $this->randomName(), - "field_telephone[und][0][value]" => $value, + 'title' => $this->randomName(), + 'field_telephone[' . LANGUAGE_NOT_SPECIFIED . '][0][value]' => $value, ); $this->drupalPost('node/add/article', $edit, t('Save'));