Updated FileControllerTest

This commit is contained in:
Chris Kankiewicz
2025-03-21 09:09:33 -07:00
parent e2b7ff76d0
commit 33075eaa84

View File

@@ -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());