CRM-17860 - phpunit bootstrap - Set CIVICRM_UF=UnitTests
authorTim Otten <totten@civicrm.org>
Fri, 22 Jan 2016 10:43:34 +0000 (02:43 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 2 Feb 2016 04:56:23 +0000 (21:56 -0700)
commitf5dfa52e0b4ace718afb9e52713e93febefe4f9f
tree8058749594d95d47114a3a091782366b017bb721
parent844b94bda95e6bd41db5fe027982bb583e0040c8
CRM-17860 - phpunit bootstrap - Set CIVICRM_UF=UnitTests

This has been set in civicrm.settings.dist.php, but we're moving toward a
consolidated settings file.  But we still need bit of logic which says: "Run
most unit tests in a headless environment." This pushes the policy pretty
far outside the code.
tests/phpunit/CiviTest/bootstrap.php
tools/scripts/phpunit