Use PrematureExit exception instead of weird hack in tests
authoreileen <emcnaughton@wikimedia.org>
Thu, 16 Jul 2020 23:00:46 +0000 (11:00 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 16 Jul 2020 23:17:58 +0000 (11:17 +1200)
commita413c3db48b1934ea39023949eae035cc2ea852b
tree633ca00358ada325b1598d7811ab5a941e7f2fec
parent54625e27f64c269f0235b5351e515184e4aac0ff
Use PrematureExit exception instead of weird hack in tests

Passing is_unit_test to a function to avoid the civiExit routine has been superceded by catching
PrematureExitExceptions
CRM/Activity/Page/AJAX.php
CRM/Custom/Page/AJAX.php
CRM/Group/Page/AJAX.php
tests/phpunit/CRM/Activity/BAO/ActivityTest.php
tests/phpunit/CRM/Custom/Page/AJAXTest.php
tests/phpunit/CRM/Group/Page/AjaxTest.php