Commit bb45304a authored by alexpott's avatar alexpott

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

parent 040ff573
......@@ -327,7 +327,7 @@ function testWidgetValidation() {
$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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment