diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-02 11:46:13 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-02 11:46:13 +0300 |
commit | 22dcb6e2e42549f9b4aabad0260dd086bd704368 (patch) | |
tree | 8127cef0611deccbb419f58dd1317a7d57ed8efc /tests | |
parent | e851f57e2a7553455a7efd022500e6e91ca28d86 (diff) |
define PHPUNIT constant only if not already set
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bootstrap.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 57bf2fa0..12d406cf 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,7 +3,9 @@ global $RUNTIME_NOAPPS; $RUNTIME_NOAPPS = true; -define('PHPUNIT_RUN', 1); +if (!defined('PHPUNIT_RUN')) { + define('PHPUNIT_RUN', 1); +} require_once __DIR__.'/../../../lib/base.php'; |