Skip to content
Snippets Groups Projects
Commit bb45304a authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 040ff573
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment