Merge pull request #15329 from mattwire/contributepagetab_cleanupstatic
[civicrm-core.git] / CRM / Core / Config / Runtime.php
index d64c5ce5f94319ca6f4e3080c5fc0017ed67414e..da2abcec7b759fb6adc68a4b1424de4dfec42f63 100644 (file)
@@ -163,6 +163,8 @@ class CRM_Core_Config_Runtime extends CRM_Core_Config_MagicMerge {
         \CRM_Utils_Array::value('HTTP_HOST', $_SERVER, ''),
         // e.g. port-based vhosts
         \CRM_Utils_Array::value('SERVER_PORT', $_SERVER, ''),
+        // e.g. unit testing
+        defined('CIVICRM_TEST') ? 1 : 0,
         // Depending on deployment arch, these signals *could* be redundant, but who cares?
       ]));
     }