Commit dd85adde authored by webchick's avatar webchick

Issue #2072565 by legolasbo: Remove Unused local variable () from...

Issue #2072565 by legolasbo: Remove Unused local variable () from /core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php.
parent b20f3c0f
......@@ -264,7 +264,6 @@ function testPrivateFileComment() {
field_info_cache_clear();
// Create node.
$text_file = $this->getTestFile('text');
$edit = array(
'title' => $this->randomName(),
);
......@@ -326,7 +325,6 @@ function testWidgetValidation() {
$this->drupalGet("node/$nid/edit");
$test_file_text = $this->getTestFile('text');
$test_file_image = $this->getTestFile('image');
$field = field_info_field($field_name);
$name = 'files[' . $field_name . '_' . Language::LANGCODE_NOT_SPECIFIED . '_0]';
// Upload file with incorrect extension, check for validation error.
......
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