diff options
author | Ben Burgess <88810029+bx80@users.noreply.github.com> | 2022-09-08 02:48:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 02:48:00 +0300 |
commit | 437dfd2e2b21d3aa875d33d4a095ff784a26a310 (patch) | |
tree | d7b76969f449e88b37267138b63ad92c34425580 /tests/PHPUnit/System | |
parent | b4eacdd27dfd94e75cefc138127d9aab97b5add3 (diff) |
Fix for long report titles overflowing on PDF reports (#19694)
* Use TCPDF multicell for report title and date, crop title in footer
* Tweaks to title page layout
* Updated expected test result
* Tweak layout to match original
* Updated expected test results
* Adjust tests to cover a very long site & report name
* updates expected test files
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'tests/PHPUnit/System')
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_html_tables_only__ScheduledReports.generateReport_month.original.html b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_html_tables_only__ScheduledReports.generateReport_month.original.html index ea4440f084..5f6f66a523 100644 --- a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_html_tables_only__ScheduledReports.generateReport_month.original.html +++ b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_html_tables_only__ScheduledReports.generateReport_month.original.html @@ -33,7 +33,7 @@ <p style='font-size:15px;line-height:24px;margin:0 0 16px;color:#212121;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;'> Please find below your day report for Site 1. - <br />Mail Test report + <br />Mail Test report with <long> déscription and some 🚀 $peciäl characters $%&-~°^'"@#*ߧ²³ <br />Date range: January 2010 <br />Sent from http://example.com/piwik/tests/PHPUnit/proxy/. </p> diff --git a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf Binary files differindex 945c888774..272530ad09 100644 --- a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf +++ b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf |