1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

PDF: Added tests for pdf command, fixed old tests for changes

This commit is contained in:
Dan Brown
2024-04-26 15:39:40 +01:00
parent 1c7128c2cb
commit f0dd33c1b4
3 changed files with 46 additions and 11 deletions

View File

@ -76,7 +76,7 @@ class PdfGenerator
$replacementsByPlaceholder = [
'{input_html_path}' => $inputHtml,
'{output_html_path}' => $outputPdf,
'{output_pdf_path}' => $outputPdf,
];
foreach ($replacementsByPlaceholder as $placeholder => $replacement) {