Skip to content

Commit 1dc27d8

Browse files
gr8manmichalsn
andauthored
Update tests/system/HTTP/ResponseTest.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
1 parent c563c13 commit 1dc27d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/HTTP/ResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public function testGetDownloadResponseByExtremeFilePath(): void
510510
$this->assertInstanceOf(DownloadResponse::class, $actual);
511511
$actual->buildHeaders();
512512

513-
$expectedBasename = basename($extremePath);
513+
$expectedFilename = $extremeName;
514514
$this->assertSame(
515515
'attachment; filename="' . addslashes($expectedBasename) . '"; filename*=UTF-8\'\'' . rawurlencode($expectedBasename),
516516
$actual->getHeaderLine('Content-Disposition'),

0 commit comments

Comments
 (0)