@@ -180,9 +180,9 @@ public function testSendResponseWithFilePath(): void
180180 $ this ->responseMock ->expects ($ this ->exactly (6 ))
181181 ->method ('setHeader ' )
182182 ->withConsecutive (
183+ ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
183184 ['Content-Type ' , $ fileMimetype , true ],
184185 ['Content-Length ' , $ fileSize , true ],
185- ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
186186 ['Pragma ' , 'public ' , true ],
187187 ['Cache-Control ' , 'must-revalidate, post-check=0, pre-check=0 ' , true ],
188188 [
@@ -255,9 +255,9 @@ public function testSendResponseWithRemoveOption(): void
255255 $ this ->responseMock ->expects ($ this ->exactly (6 ))
256256 ->method ('setHeader ' )
257257 ->withConsecutive (
258+ ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
258259 ['Content-Type ' , $ fileMimetype , true ],
259260 ['Content-Length ' , $ fileSize , true ],
260- ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
261261 ['Pragma ' , 'public ' , true ],
262262 ['Cache-Control ' , 'must-revalidate, post-check=0, pre-check=0 ' , true ],
263263 [
@@ -283,9 +283,9 @@ public function testSendResponseWithRawContent(): void
283283 $ this ->responseMock ->expects ($ this ->exactly (6 ))
284284 ->method ('setHeader ' )
285285 ->withConsecutive (
286+ ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , false ],
286287 ['Content-Type ' , $ fileMimetype , false ],
287288 ['Content-Length ' , $ fileSize , false ],
288- ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , false ],
289289 ['Pragma ' , 'public ' , false ],
290290 ['Cache-Control ' , 'must-revalidate, post-check=0, pre-check=0 ' , false ],
291291 [
0 commit comments