-
- Downloads
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
Showing
- CRM/Activity/Page/AJAX.php 4 additions, 7 deletionsCRM/Activity/Page/AJAX.php
- CRM/Custom/Page/AJAX.php 0 additions, 5 deletionsCRM/Custom/Page/AJAX.php
- CRM/Group/Page/AJAX.php 0 additions, 5 deletionsCRM/Group/Page/AJAX.php
- tests/phpunit/CRM/Activity/BAO/ActivityTest.php 18 additions, 8 deletionstests/phpunit/CRM/Activity/BAO/ActivityTest.php
- tests/phpunit/CRM/Custom/Page/AJAXTest.php 12 additions, 3 deletionstests/phpunit/CRM/Custom/Page/AJAXTest.php
- tests/phpunit/CRM/Group/Page/AjaxTest.php 31 additions, 10 deletionstests/phpunit/CRM/Group/Page/AjaxTest.php
Please register or sign in to comment