The reason being that $pdf->downloadName is still an empty string, despite calling ->download($invoice->filename) in the controller.
I believe this fixes #138.
Oddly enough some tests including the pdf function download accepts a name parameter and sets downloadName failed on the old implementation, so not sure how that one got through 🤷♂️
We had a test like this that was failing after updating to 1.5:
The reason being that
$pdf->downloadName
is still an empty string, despite calling->download($invoice->filename)
in the controller.I believe this fixes #138.
Oddly enough some tests including
the pdf function download accepts a name parameter and sets downloadName
failed on the old implementation, so not sure how that one got through 🤷♂️