Always throw exception in tests for pdf out
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 17 Jun 2022 21:52:00 +0000 (09:52 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 18 Jun 2022 06:42:10 +0000 (18:42 +1200)
commit42da9de9099da7534e547441945f0fb19094ef08
treebc22a696a3151b6a3c9cf64147d0b099d9dee53e
parentc1e8ecb19d0213813346f32f362716c7f9766fa3
Always throw exception in tests for pdf out

headers_sent() was always true before and hence the tests were written to expect the
exception would be called. Fixing that caused the tests to fail - but fixing it is good
CRM/Utils/PDF/Document.php
CRM/Utils/PDF/Utils.php
tests/phpunit/CRM/Report/Utils/ReportTest.php