File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -475,15 +475,15 @@ public function testResponseHeadersForAsset()
475
475
}
476
476
477
477
$ mimeType = $ mimeResolver ->getMimeType (__FILE__ );
478
- $ lastModified = new \DateTime ();
478
+ $ lastModified = new \DateTime ();
479
479
$ lastModified ->setTimestamp (filemtime (__FILE__ ));
480
480
$ lastModified ->setTimezone (new \DateTimeZone ('UTC ' ));
481
481
482
482
$ headers = [
483
483
'Content-Transfer-Encoding ' => ['binary ' ],
484
- 'Content-Type ' => [$ mimeType ],
485
- 'Content-Length ' => [$ fileSize ],
486
- 'Last-Modified ' => [$ lastModified ->format ('D, d M Y H:i:s \G\M\T ' )],
484
+ 'Content-Type ' => [$ mimeType ],
485
+ 'Content-Length ' => [$ fileSize ],
486
+ 'Last-Modified ' => [$ lastModified ->format ('D, d M Y H:i:s \G\M\T ' )],
487
487
];
488
488
489
489
$ this ->assertEquals ($ headers , $ response ->getHeaders ());
You can’t perform that action at this time.
0 commit comments