From aa2733c0e8b1fd53b4ca6217318ba00b62c508ae Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Sat, 31 May 2014 14:16:31 -0700 Subject: [PATCH] CRM-14605 - Add define(CIVICRM_WEBTEST) 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php index 9b9e68e85a..d0472836b7 100644 --- a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php +++ b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php @@ -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; -- 2.25.1