diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-01-28 10:22:05 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-01-28 10:22:05 +0100 |
commit | 763847931d421753f503608018b0da2bbaa9bfd6 (patch) | |
tree | ce7207b687f32c535a0956ec22df13f8b07137cc /tests/Bootstrap.php | |
parent | 041de072875a6c2a93e2e6c180921d5b8ac6f1f9 (diff) |
Add ENVIRONMENT constant to unit tests
Diffstat (limited to 'tests/Bootstrap.php')
-rw-r--r-- | tests/Bootstrap.php | 1 |
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'; |