@@ -180,9 +180,9 @@ public function testSendResponseWithFilePath(): void
180
180
$ this ->responseMock ->expects ($ this ->exactly (6 ))
181
181
->method ('setHeader ' )
182
182
->withConsecutive (
183
+ ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
183
184
['Content-Type ' , $ fileMimetype , true ],
184
185
['Content-Length ' , $ fileSize , true ],
185
- ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
186
186
['Pragma ' , 'public ' , true ],
187
187
['Cache-Control ' , 'must-revalidate, post-check=0, pre-check=0 ' , true ],
188
188
[
@@ -255,9 +255,9 @@ public function testSendResponseWithRemoveOption(): void
255
255
$ this ->responseMock ->expects ($ this ->exactly (6 ))
256
256
->method ('setHeader ' )
257
257
->withConsecutive (
258
+ ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
258
259
['Content-Type ' , $ fileMimetype , true ],
259
260
['Content-Length ' , $ fileSize , true ],
260
- ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , true ],
261
261
['Pragma ' , 'public ' , true ],
262
262
['Cache-Control ' , 'must-revalidate, post-check=0, pre-check=0 ' , true ],
263
263
[
@@ -283,9 +283,9 @@ public function testSendResponseWithRawContent(): void
283
283
$ this ->responseMock ->expects ($ this ->exactly (6 ))
284
284
->method ('setHeader ' )
285
285
->withConsecutive (
286
+ ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , false ],
286
287
['Content-Type ' , $ fileMimetype , false ],
287
288
['Content-Length ' , $ fileSize , false ],
288
- ['Content-Disposition ' , 'attachment; filename=" ' . $ fileName . '" ' , false ],
289
289
['Pragma ' , 'public ' , false ],
290
290
['Cache-Control ' , 'must-revalidate, post-check=0, pre-check=0 ' , false ],
291
291
[
0 commit comments