We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbeb50b commit 59cf9c7Copy full SHA for 59cf9c7
tests/Http/Middleware/CacheTest.php
@@ -36,8 +36,9 @@ public function testDoNotSetHeaderWhenNoContent()
36
37
public function testSetHeaderToFileEvenWithNoContent()
38
{
39
- $response = (new Cache)->handle(new Request, function () {
+ $response = (new Cache)->handle(new Request, function () {
40
$filePath = __DIR__.'/../fixtures/test.txt';
41
+
42
return new BinaryFileResponse($filePath);
43
}, 'max_age=120;s_maxage=60');
44
0 commit comments