Commit b772dbe8 authored by webchick's avatar webchick

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

Issue #2072561 by legolasbo: Remove Unused local variable () from /core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php.
parent fe60a0d0
......@@ -80,7 +80,6 @@ function testNormal() {
file_test_reset();
// Upload a second file.
$max_fid_before = db_query('SELECT MAX(fid) AS fid FROM {file_managed}')->fetchField();
$image2 = current($this->drupalGetTestFiles('image'));
$edit = array('files[file_test_upload]' => drupal_realpath($image2->uri));
$this->drupalPost('file-test/upload', $edit, t('Submit'));
......
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