CRM-14605 - Add define(CIVICRM_WEBTEST)
authorTim Otten <totten@civicrm.org>
Sat, 31 May 2014 21:16:31 +0000 (14:16 -0700)
committerTim Otten <totten@civicrm.org>
Sat, 31 May 2014 21:18:38 +0000 (14:18 -0700)
This can be used by CiviTest/civicrm.settings*.php to select different
configuration options for web-tests and unit-tests.

tests/phpunit/CiviTest/CiviSeleniumTestCase.php

index 9b9e68e85a40e3931b668c0b89cc5a23c04f0822..d0472836b73179f087e30e996ed7a41a267ad1d2 100644 (file)
@@ -32,6 +32,7 @@ require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
  */
 define('CIVICRM_SETTINGS_PATH', __DIR__ . '/civicrm.settings.dist.php');
 define('CIVICRM_SETTINGS_LOCAL_PATH', __DIR__ . '/civicrm.settings.local.php');
+define('CIVICRM_WEBTEST', 1);
 
 if (file_exists(CIVICRM_SETTINGS_LOCAL_PATH)) {
   require_once CIVICRM_SETTINGS_LOCAL_PATH;