mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-20 12:51:30 +02:00
Updated FileControllerTest
This commit is contained in:
@@ -29,10 +29,9 @@ class FileControllerTest extends TestCase
|
||||
$this->assertSame(200, $response->getStatusCode());
|
||||
|
||||
$this->assertSame([
|
||||
'Content-Description' => ['File Transfer'],
|
||||
'Content-Disposition' => ['attachment; filename="README.md"'],
|
||||
'Content-Type' => ['text/plain'],
|
||||
'Content-Length' => ['30'],
|
||||
'Content-Type' => ['file'],
|
||||
], $response->getHeaders());
|
||||
|
||||
$this->assertSame("Test README.md; please ignore\n", (string) $response->getBody());
|
||||
|
Reference in New Issue
Block a user