summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-28 10:22:05 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-28 10:22:05 +0100
commit763847931d421753f503608018b0da2bbaa9bfd6 (patch)
treece7207b687f32c535a0956ec22df13f8b07137cc /tests
parent041de072875a6c2a93e2e6c180921d5b8ac6f1f9 (diff)
Add ENVIRONMENT constant to unit tests
Diffstat (limited to 'tests')
-rw-r--r--tests/Bootstrap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index 8ce80b3fd..c98d88531 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -32,6 +32,7 @@ if ( ! class_exists('vfsStream') && file_exists(PROJECT_BASE.'vendor/autoload.ph
defined('BASEPATH') OR define('BASEPATH', vfsStream::url('system/'));
defined('APPPATH') OR define('APPPATH', vfsStream::url('application/'));
defined('VIEWPATH') OR define('VIEWPATH', APPPATH.'views/');
+defined('ENVIRONMENT') OR define('ENVIRONMENT', 'development');
// Set localhost "remote" IP
isset($_SERVER['REMOTE_ADDR']) OR $_SERVER['REMOTE_ADDR'] = '127.0.0.1';