summaryrefslogtreecommitdiff
path: root/tests/test_tools/phpunit_bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_tools/phpunit_bootstrap.php')
-rw-r--r--tests/test_tools/phpunit_bootstrap.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_tools/phpunit_bootstrap.php b/tests/test_tools/phpunit_bootstrap.php
index c1cb423f..b3367a57 100644
--- a/tests/test_tools/phpunit_bootstrap.php
+++ b/tests/test_tools/phpunit_bootstrap.php
@@ -6,9 +6,9 @@
* the right package in unit test and code coverage reports.
*/
-define('PRADO_TEST_RUN', true);
-define('PRADO_FRAMEWORK_DIR', dirname(__FILE__).'/../../framework');
-define('VENDOR_DIR', dirname(__FILE__).'/../../vendor');
+defined('PRADO_TEST_RUN') or define('PRADO_TEST_RUN', true);
+defined('PRADO_FRAMEWORK_DIR') or define('PRADO_FRAMEWORK_DIR', dirname(__FILE__).'/../../framework');
+defined('VENDOR_DIR') or define('VENDOR_DIR', dirname(__FILE__).'/../../vendor');
set_include_path(PRADO_FRAMEWORK_DIR.PATH_SEPARATOR.get_include_path());
// coverage tests waste a lot of memory!
ini_set('memory_limit', '1G');