Issue #2005590 by alexpott: Fixed Head broken - use of LANGUAGE_NOT_SPECIFIED constant.

8.0.x
Alex Pott 2013-05-27 20:17:35 -05:00
parent 040ff573a2
commit bb45304ae1
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ class FileFieldWidgetTest extends FileFieldTestBase {
$test_file_text = $this->getTestFile('text');
$test_file_image = $this->getTestFile('image');
$field = field_info_field($field_name);
$name = 'files[' . $field_name . '_' . LANGUAGE_NOT_SPECIFIED . '_0]';
$name = 'files[' . $field_name . '_' . Language::LANGCODE_NOT_SPECIFIED . '_0]';
// Upload file with incorrect extension, check for validation error.
$edit[$name] = drupal_realpath($test_file_image->uri);