diff options
author | David <ottodavid@gmx.net> | 2015-08-10 06:42:01 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-08-10 17:22:33 +0200 |
commit | 2bf1a517f3edc1bd43b8e3340f0f6fd31b1ba94a (patch) | |
tree | 285d7182be15299d8c0cdac1bd8aa1e397fa69d4 /tests/test_tools | |
parent | 92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 (diff) |
fix unit tests
Diffstat (limited to 'tests/test_tools')
-rw-r--r-- | tests/test_tools/phpunit_bootstrap.php | 6 |
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'); |