@@ -42,6 +42,7 @@ $directory = $test->getDirectory();
$pdf_filepath = $directory . "/tester_invoice.pdf";
if($test->hasTesterInvoicePDF()) {
http::setDownloadHeaders($download_filename);
+ header("Content-Type: application/pdf");
readfile($pdf_filepath);
exit;
}