Skip to content

Commit 3a7722c

Browse files
committed
test: refactor: remove unneeded variable
1 parent 5bf3492 commit 3a7722c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/system/HTTP/Files/FileMovingTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,9 @@ public function testFailedMoveBecauseOfWarning()
293293

294294
public function testFailedMoveBecauseOfFalseReturned()
295295
{
296-
$finalFilename = 'fileA';
297-
298296
$_FILES = [
299297
'userfile1' => [
300-
'name' => $finalFilename . '.txt',
298+
'name' => 'fileA.txt',
301299
'type' => 'text/plain',
302300
'size' => 124,
303301
'tmp_name' => '/tmp/fileA.txt',

0 commit comments

Comments
 (0)